On 2011-01-27 03:56, Ramesh Kumar wrote:

my $list_of_list = eval $data; # we get an anonymous list of list

Looks like you didn't get the memo yet. :)

String eval is normally not what you want. I only use it in exceptional cases.

At least first check the contents of $data. That normally leads to Perl code that doesn't need eval at all anymore.

--
Ruud


--
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