On Wed, Aug 30, 2000 at 02:47:46AM +0200, Bart Lateur wrote:
> On Tue, 29 Aug 2000 18:17:46 -0600, Tom Christiansen wrote:
> >    sub getfh {
> >     return open(my $fh, "+< /dev/null") && $fh;
> >    } 
> 
> Aha! You fell for one of my pet pieves. You tried to return a lexical in
> the same expression were it was declared. That doesn't work. It's not
> the same variable. 

Perl is starting to feel more like C in this instance :-(

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to