in reply to Re^2: run-time syntax checking
in thread run-time syntax checking
So where is the surprise ?root@Captain:/home/pardus# perl my $string = "print 'some string'; }"; my $sub = eval "sub { $string }"; print $@; Unmatched right curly bracket at (eval 1) line 1, at end of line syntax error at (eval 1) line 1, near "} }"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: run-time syntax checking
by Aristotle (Chancellor) on Feb 01, 2003 at 16:28 UTC | |
by Pardus (Pilgrim) on Feb 01, 2003 at 16:42 UTC | |
by diotalevi (Canon) on Feb 01, 2003 at 16:59 UTC | |
by ihb (Deacon) on Feb 02, 2003 at 01:33 UTC |