Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Returning data from an eval

by Tanalis (Curate)
on Aug 02, 2005 at 07:38 UTC ( [id://480102]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    return( "A", "Cat A" ) if $abs_diff < 75_000 and $source eq "ICE";
    
  2. or download this
    # process analysis rules
    foreach( @$analysis_rules ) {
      eval $_;
    }
    
  3. or download this
    # process analysis rules
    foreach( @$analysis_rules ) { 
      my( $cat, $comment ) = eval $_;
      return( $cat, $comment ) if $cat and $comment;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://480102]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-18 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found