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?
[cavac]: Could some of you just log in for a second and check, for example, the tail daemon logfile?
[Eily]: congrats Discipulus :)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2017-02-22 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (325 votes). Check out past polls.