Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
Jar. Jar!...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2016-12-04 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.