Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 having an uproarious good time at the Monastery: (9)
As of 2015-07-29 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls