go ahead... be a heretic | |
PerlMonks |
Re: Strange behaviour from two pieces of similar code in different running environmentsby starbolin (Hermit) |
on May 15, 2008 at 00:26 UTC ( [id://686639]=note: print w/replies, xml ) | Need Help?? |
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}
In Section
Seekers of Perl Wisdom
|
|