[Bioperl-l] mystery
Tamas Horvath
hotafin at gmail.com
Wed Jun 22 13:03:24 EDT 2005
well, I have some other loops in my script wich are all work fine.
Maybe this is some sort of mysterious bug of the IDE's debugger...
thank's anyway.
PS.: Afterwards I've tested it "outside" the IDE, and it worked fine
for me to...
On 6/22/05, Andreas Boehm <andreas.boehm at virchow.uni-wuerzburg.de> wrote:
> Hi,
>
> it works fine with my perl version:
> perl5 (revision 5.0 version 8 subversion 0)
>
> Maybe you have a buggy compilation, that has a problem with the /g in
> your while-loop?
>
> regards,
> Andreas Boehm
>
> Tamas Horvath wrote:
> > while ($pdb_data =~ /(REMARK 999.*)/g) {
> > die "die2";
> > }
> > die"die1" if $pdb_data =~ /(REMARK 999.*)/;
> >
> > the following code terminates with "die1". Does anyone know why?
> > the $pdb_data is a string of a pdb entry (1PHK)
> >
> > it has the following REMARK 999 lines:
> >
> > REMARK 999
> > REMARK 999 SEQUENCE
> > REMARK 999 1PHK SWS P00518 1 - 14 NOT IN ATOMS LIST
> > REMARK 999 1PHK SWS P00518 292 - 386 NOT IN ATOMS LIST
> >
> > _______________________________________________
> > Bioperl-l mailing list
> > Bioperl-l at portal.open-bio.org
> > http://portal.open-bio.org/mailman/listinfo/bioperl-l
> >
> >
>
>
More information about the Bioperl-l
mailing list