Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Change variable multiple times within a single string?

by AnomalousMonk (Canon)
on Apr 27, 2013 at 19:58 UTC ( #1031010=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "for my $s (qw(
    ...
    no A or B found in 'xx' at -e line 1.
    no A or B found in 'x' at -e line 1.
    no A or B found in '' at -e line 1.
    
  2. or download this
    >perl -wMstrict -le
    "my %xlat = qw(A yes  B no);
    ...
    no A or B found in 'xx' at -e line 1.
    no A or B found in 'x' at -e line 1.
    no A or B found in '' at -e line 1.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031010]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-04-28 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (528 votes). Check out past polls.