in reply to Re: Error in Camel Book Ver2?
in thread Error in Camel Book Ver2?
if I make a script that says:
$pi ||= 3 print $pi;
I'll get back something like
syntax error at or.pl line 1, near "|| ="
So the way its written won't work
I wonder if this will be different if your testing a hash, since you use exists() instead of defined();
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Error in Camel Book Ver2?
by merlyn (Sage) on Dec 21, 2000 at 11:51 UTC | |
by marius (Hermit) on Dec 21, 2000 at 21:36 UTC | |
by ichimunki (Priest) on Dec 21, 2000 at 21:35 UTC | |
Re: Re: Re: Error in Camel Book Ver2?
by myocom (Deacon) on Dec 21, 2000 at 11:56 UTC | |
by skazat (Chaplain) on Dec 21, 2000 at 13:24 UTC |