in reply to seeking eval failures
#!perl use strict; use warnings; my $s = eval "s/temp/;"; print qq[<$@>] unless ($s); print $/; $s = eval 'my $intern = eval "s/temp/;"; $@ = ""; return $intern;'; print qq[<$@>] unless ($s); __OUTPUT__ <Substitution replacement not terminated at (eval 1) line 1. > <>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: seeking eval failures
by antirice (Priest) on Aug 18, 2003 at 09:28 UTC | |
by CombatSquirrel (Hermit) on Aug 18, 2003 at 09:44 UTC | |
by Anonymous Monk on Aug 18, 2003 at 09:59 UTC | |
|
Re: seeking eval failures
by Abigail-II (Bishop) on Aug 18, 2003 at 09:27 UTC |