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

Re: Replace strings with []

by hdb (Parson)
on Oct 14, 2013 at 06:52 UTC ( #1058133=note: print w/ replies, xml ) Need Help??


in reply to Replace strings with []

I'm wondering about the order of elements in @arr. From the code below it seems that you will first replace all a's with random{$1} (should it be $random{$1}?) and then look for a[0]. But if all a's have been replaced by something else you will not find any a[0]'s anymore. What is the underlying logic behind this order?


Comment on Re: Replace strings with []
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (13)
As of 2014-04-17 10:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (443 votes), past polls