in reply to Eval str return different from Eval block return
Winnt, AS 5.6.1 631.
Using -w i get:
WTF? regardless of the warning, the given example runs under strict 'refs'. If I use eval "readonly(5)->[0]" it stops complaining (but still the results are wrong.Name "main::capture(5)" used only once: possible typo at strange.pl li +ne 15. Use of uninitialized value in eval "string" at strange.pl line 15. No eval :1 In str eval :1 In block eval :1 Block Eval ret :1 Str Eval ret :0
Uh?Modification of a read-only value attempted at strange.pl line 4.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Eval str return different from Eval block return
by demerphq (Chancellor) on May 17, 2002 at 15:25 UTC | |
by alien_life_form (Pilgrim) on May 17, 2002 at 16:19 UTC | |
by demerphq (Chancellor) on May 17, 2002 at 16:33 UTC |