On Tue, 2004-02-10 at 17:30 -0800, Stas Bekman wrote:
> [EMAIL PROTECTED] wrote:
> > gozer 2004/02/10 09:45:22
> [...]
> > + open my $fh, ">$file" || die $!;
>
> nice try of adding 'die' without adding it ;)
>
> % perl -MO=Deparse,-p -e 'open my $fh, ">$file" || die $!;'
> open(my $fh, (">$file" || die($!)));
>
> which is equal to:
>
> open my $fh, ">$file";
>
> but you know that already ;) Now fixed.Ouch! Thanks for the spot, and , well, hrm, of course I knew _that_ ;-) > __________________________________________________________________ > Stas Bekman JAm_pH ------> Just Another mod_perl Hacker > http://stason.org/ mod_perl Guide ---> http://perl.apache.org > mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com > http://modperlbook.org http://apache.org http://ticketmaster.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
signature.asc
Description: This is a digitally signed message part
