On Wed, Oct 20, 2010 at 2:24 PM, Brandon McCaig <bamcc...@gmail.com> wrote:
> // There may be better ways to accomplish this.
> // eval is normally considered dangerous in most languages.
> {
>    my $VAR1;
>
>    $data = eval Dumper $data or die("Failed to evaluate data: $@");
> }

s{//}{#}

That'll teach me to edit code in an E-mail... :-[

-- 
Brandon McCaig <bamcc...@gmail.com>
V zrna gur orfg jvgu jung V fnl. Vg qbrfa'g nyjnlf fbhaq gung jnl.
Castopulence Software <http://www.castopulence.org/> <bamcc...@castopulence.org>

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to