Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Sorting result of function call

by Hofmator (Curate)
on Dec 20, 2006 at 09:29 UTC ( #590870=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    say sort &get_keys();        # called:array:13
    say sort @{[get_keys]};      # called:array:13
    say sort @{[get_keys()]};    # called:array:13
    
  2. or download this
               NAME(LIST);    # & is optional with parentheses.
               NAME LIST;     # Parentheses optional if predeclared/import
    +ed.
               &NAME(LIST);   # Circumvent prototypes.
    
  3. or download this
    for my $type ( sort( filetypes_supported() ) ) {  
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://590870]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-12-25 20:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (163 votes), past polls