Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Bizarreness in ?PATTERN? and g

by beth (Scribe)
on Jun 04, 2004 at 18:20 UTC ( [id://361114]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Bizarreness in ?PATTERN? and g
in thread Bizarreness in ?PATTERN? and g

japhy took a look at this but I guess he didn't post about it yet. Basically, loops and repeated statements are not interchangeable - they're compiled differently. He suggested running the following two tests, which are quite enlightening:
perl -MO=Terse -e '/x/; /x/;' perl -MO=Terse -e '/x/ for 1, 2'


--
eval pack("H*", "7072696e74207061636b2822482a222c202236613631373036382229");
# japh or forkbomb? You decide!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 18:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found