Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

loris's scratchpad

by loris (Hermit)
on Nov 26, 2007 at 14:46 UTC ( #652996=scratchpad: print w/replies, xml ) Need Help??

#!/usr/bin/perl use strict; use warnings; my @users = qw/ alice bob carl /; my @elements; push(@elements,'$_'); push(@elements,'text'); my @list; @list = map { join('|',@elements) } @users; print "@list" . "\n";
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[PriNet]: quick question... anyone know how to remove all the existing keys in a %hash ? i've tried several options, but when i re-use the hash, some of the "upper" keys that i don't re-use stick and i can't get them to "remove"

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2017-06-28 02:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.