Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Roy Johnson's scratchpad

by Roy Johnson (Monsignor)
on Jun 01, 2004 at 19:18 UTC ( #358440=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Sort so that alpha keys come first, then numerics
    map $_->[1],
    ...
           or $a->[0] ? $a->[1] <=> $b->[1]
                      : $a->[1] cmp $b->[1] }
    map [(/[a-z]/i ? 0 : 1), $_], keys %hash;
    
  2. or download this
    package gs;
    
    ...
    
    # Export everything!
    @EXPORT = grep defined(&{$main::{$pkg.'::'}{$_}}), keys %{$main::{$pkg
    +.'::'}};
    
  3. or download this
    $f=q(s{}{\$f=q($f);
    $f};
    ...
    s{}{\$f=q($f);
    $f};
    print;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2018-06-22 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (120 votes). Check out past polls.

    Notices?