Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

jontk's scratchpad

by jontk (Sexton)
on Jul 02, 2004 at 06:39 UTC ( [id://371320]=scratchpad: print w/replies, xml ) Need Help??

Assign array values to hash keys but with the same value:
@hash{ map {$_ } @array} = ($scalar) x scalar @array;

Get all pids with a keyword in args:
my $pids  = join ' ', map {/^\s*(\d+)\s+/}
            grep /$match/, `ps axk pid o pid,args`;

Newlines: reading files that were created on other platforms
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found