Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Strange behaviour from two pieces of similar code in different running environments

by starbolin (Hermit)
on May 15, 2008 at 00:26 UTC ( [id://686639]=note: print w/replies, xml ) Need Help??


in reply to Strange behaviour from two pieces of similar code in different running environments

The two snippets are not the same. The first imports Image::Magic with the use operator and the second uses the require operator which does not import names from the Image::Magic:: name-space.


s//----->\t/;$~="JAPH";s//\r<$~~/;{s|~$~-|-~$~|||s |-$~~|$~~-|||s,<$~~,<~$~,,s,~$~>,$~~>,, $|=1,select$,,$,,$,,1e-1;print;redo}
  • Comment on Re: Strange behaviour from two pieces of similar code in different running environments
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://686639]
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