Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Returning data from an eval

by tlm (Prior)
on Aug 02, 2005 at 13:51 UTC ( #480180=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    __END__
    % perl rules.pl 
    B Dog B
    
  2. or download this
    q( $abs_diff < 75_000 and $source eq "ICE" ? ( "A", "Cat A" ) : () )
    
  3. or download this
      for my $rule ( @rules ) {
        my @ret = eval $rule;
        return @ret if @ret;
      }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2020-12-04 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (58 votes). Check out past polls.

    Notices?