Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Small examples of string eval

by ruzam (Curate)
on May 14, 2006 at 03:16 UTC ( #549287=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Data::Dumper;
    $Data::Dumper::Indent = 0; # no spaces tabs or other fluff
    ...
        eval {$saved}
        return $VAR1 ? $VAR1 : {};
    } 
    
  2. or download this
    sub selectrow_array { my $dbh = shift;
        my $query = shift;
    ...
        return my_custom_error_handler("selectrow_array $query") if $@;
        return @result;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://549287]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-04-19 03:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (476 votes), past polls