Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Change variable multiple times within a single string?

by 2teez (Priest)
on Apr 27, 2013 at 15:35 UTC ( #1030978=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (split //, $string ) {
      next if /1/;
      $yes_or_no = $decision{$_} if exists $decision{$_};
      print "$_ ($yes_or_no)\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2015-05-24 06:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (471 votes), past polls