in reply to Doubt in Eval
#!/usr/bin/perl -l use strict; use warnings; use Devel::Eval qw( dval ); my $x = ''; dval <<'EOF'; if ($x= 5) { get_accounts(); } sub get_accounts { print $x; } EOF
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Doubt in Eval
by chromatic (Archbishop) on Feb 16, 2012 at 22:10 UTC | |
by rajan (Acolyte) on Feb 17, 2012 at 04:26 UTC |