Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Strings overwrite themselves in print command

by choroba (Cardinal)
on Jun 28, 2016 at 08:59 UTC ( [id://1166734]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Strings overwrite themselves in print command
in thread Strings overwrite themselves in print command

It means your Perl is ancient and doesn't support the default second argument. Use
my ($memID) = unpack '@12A6', $_;

instead.

Update: The change happened in 5.10 (2007), see Miscellaneous.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found