Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by afoken (Chancellor)
on Jul 18, 2019 at 18:47 UTC ( #11102989=note: print w/replies, xml ) Need Help??


in reply to Re: 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")

the original suggestion was a unicode -ǝ or -Ǝ

Bad idea. There are still many ASCII letters left in perlrun. perl isn't ls. And most people, including me, don't know from memory how to enter -ǝ or -Ǝ. Using perl should be easy, not hard. How about using the unused "-r" (as in run), making perl -r 'say "hi"' the shorter equivalent of perl -Mstrict -w -E 'say "hi"'?

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^2: 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://11102989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2023-12-04 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (25 votes). Check out past polls.

    Notices?