Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 chanting in the Monastery: (5)
As of 2014-09-22 10:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (188 votes), past polls