Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

logic within interpolation

by karrakis (Novice)
on Mar 29, 2013 at 21:29 UTC ( #1026193=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $outputarray->[$level] = eval "\"$interpol\"";
    
  2. or download this
    ${if($1 =~ /\d{2,}/){return "driving a vehicle ${1} lbs over the weigh
    +t limit";}elsif($1 =~ /\d{1}/){return "driving a vehicle $1 tons over
    + the weight limit";}}
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-09-26 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (478 votes). Check out past polls.