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 (Chancellor)
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?
erix considers showing this to choroba , thinks better of it
[choroba]: LanX we used to mock Hare Krishna processions signing "Hare Rama" carrying the margarine conatiners
[choroba]: :-D
[LanX]: What about Czech an Chechen ambessy?
[AnomalousMonk]: LanX: Rama had (has?) a high (much higher than typical asteroid) rate of axial (again, unusual, I think) spin for its artificial gravity.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (14)
As of 2017-11-22 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (327 votes). Check out past polls.

    Notices?