Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^9: Sorting text-number values

by Corion (Patriarch)
on Nov 30, 2016 at 11:25 UTC ( [id://1176920]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Sorting text-number values
in thread Sorting text-number values

Are you aware what this line means?

use 5.010;

This enables features from Perl 5.10, but works on any version of Perl later than that.

As Perl 5.20 is a later version, use 5.010; has little effect there beyond enabling the say keyword.

Replies are listed 'Best First'.
Re^10: Sorting text-number values
by merrymonk (Hermit) on Nov 30, 2016 at 12:04 UTC
    Thanks for that and all your other contributions this morning. It is not quite what I thought.

    However, johngg's pointer to storing the sorted data means that say is no longer required and the problem goes away.

    I think my overall problem was that I do not understand what 'say' does. So far I have failed to find an explanation but I will continue my search!

      "I think my overall problem was that I do not understand what 'say' does. So far I have failed to find an explanation but I will continue my search!"

      Did you read the docs: say? Let me know if you need further explanation or a suggestion for improving this entry.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-24 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found