Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: golfing one liner

by jwkrahn (Abbot)
on Mar 02, 2019 at 22:57 UTC ( [id://1230766]=note: print w/replies, xml ) Need Help??


in reply to Re: golfing one liner
in thread golfing one liner

$ perl -E '$,=$";say a..z' a b c d e f g h i j k l m n o p q r s t u v w x y z

Replies are listed 'Best First'.
Re^3: golfing one liner
by rsFalse (Chaplain) on Mar 03, 2019 at 20:34 UTC
    +An example with local:
    print "from 'a' to 'z':\n"; do { local $, = $"; print a..z };
Re^3: golfing one liner
by stevieb (Canon) on Mar 02, 2019 at 23:02 UTC

    Nice.

Log In?
Username:
Password:

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

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

    No recent polls found