[Bioperl-l] RE: All done with Bio::DB::Query
Lincoln Stein
lstein@cshl.org
Mon, 2 Dec 2002 15:05:51 -0500
H'mm. Why the h*ll is the open being executed in this code fragment
(WebDBSeqI.pm?
my $result = $^O !~ /^MSWin/ && eval { open(STREAM,"-|") };
Could you test this out in a little perl script and tell me whether the open()
is still executed?
Lincoln
On Monday 02 December 2002 11:43 am, Paul Boutros wrote:
> Hi Lincoln,
>
> Running it like that gives:
> =======
> Can't find string terminator "'" anywhere before EOF at -e line 1.
> =======
>
> If I put the print statement in double quotes I get:
> =======
> MSWin32
> =======
>
> Paul
>
> On Mon, 2 Dec 2002, Lincoln Stein wrote:
> > Hi Paul,
> >
> > Send me the output of this command:
> >
> > perl -e 'print $^O'
> >
> > That's an Oh.
> >
> > Lincoln
> >
> > On Sunday 01 December 2002 06:23 pm, Paul Boutros wrote:
> > > Hi Lincoln,
> > >
> > > Slightly different output, but same basic idea:
> > > ==================
> > > C:\Perl\bioperl-live>perl -w t\db.t
> > > 1..78
> > > ok 1
> > > '-' is not recognized as an internal or external command,
> > > operable program or batch file.
> > > ==================
> > >
> > > It does *not* give anything after this at all, but just stops here
> > > without giving results for the rest of the tests as it did previously.
> > > This was on the XP system (Perl 5.8.0).
> > >
> > > Hope this helps,
> > > Paul
>
> <snip previous messages>
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
--
========================================================================
Lincoln D. Stein Cold Spring Harbor Laboratory
lstein@cshl.org Cold Spring Harbor, NY
========================================================================