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

Re^4: getting rid of special features

by johngg (Canon)
on Feb 17, 2013 at 18:26 UTC ( [id://1019183]=note: print w/replies, xml ) Need Help??


in reply to Re^3: getting rid of special features
in thread getting rid of costly special features

$ perl -wE 'say for "a".."e"' a b c d e

It had never occurred to me before seeing a range in the context of this thread to try

$ perl -wE 'say for q{x} .. q{ac};' x y z aa ab ac

Perl has me laughing out loud with amazement and delight sometimes :-)

Cheers,

JohnGG

Replies are listed 'Best First'.
Re^5: getting rid of special features
by soonix (Canon) on Feb 17, 2013 at 21:40 UTC
    However, sort order is different from "range order"...
      > However, sort order is different from "range order"...

      So what?

      DB<125> sort 1..12 => (1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9)

      Lexicographic sort is always different!

      Cheers Rolf

        Laxtiviographic sort is always different!

        There, I fixed it for you :D

Log In?
Username:
Password:

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

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

    No recent polls found