Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Off by one key... or yet another example of why strict and warnings are always a good idea (even for "one-liners")

by choroba (Cardinal)
on Jul 19, 2019 at 08:20 UTC ( [id://11103013]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Off by one key... or yet another example of why strict and warnings are always a good idea (even for "one-liners")
in thread Off by one key... or yet another example of why strict and warnings are always a good idea (even for "one-liners")

> this is where Windows is clearly superior to Linux

Let me correct you. I'm getting 2 as the output on Linux, too. That's because `$'` is not a valid variable name in the shell (at least in bash which I use).

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
  • Comment on Re^3: Off by one key... or yet another example of why strict and warnings are always a good idea (even for "one-liners")
  • Select or Download Code

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 17:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found