Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 LanX (Saint)
on Jul 18, 2019 at 21:02 UTC ( [id://11102991]=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")

> Windows is clearly superior to Linux,

You mean because on Windows you need to put the code in double quotes which don't collide with single quotes?

The best thing would be a Perl shell without the need to quote at all and calling OS commands inside out.

update

the second best thing is perl <RET>

Perl reads from STDIN then, Ctrl-d or __END__ ends it. Works on both plattforms.

C:\>perl -w print $x ^D Name "main::x" used only once: possible typo at - line 2. Use of uninitialized value $x in print at - line 1. C:\>

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-29 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found