SPUG: 4 Quick Questions (symlinks, anon. arrays, shell commands...)
Andrew Sweger
andy at n2h2.com
Fri Sep 17 14:56:38 CDT 1999
On Sep 17, 1999 @ 11:07am, Ryan Erwin wrote:
:} Question 1:
:} Say i have a hash: %hash
:} The current key of the hash is $_, accessed by $hash{$_}.
:} I have values qw(x y z) that I want to push into an anonymous
:} array in the value of $hash{$_}. I can't remember how!
push @{$hash{$_}}, qw(x y z);
--
Andrew Sweger <andy at n2h2.com> | N2H2, Incorporated
v=206.336.2947 f=206.336.1541 | 900 Fourth Avenue, Suite 3400
"Intelligent Technologies For | Seattle WA 98164-1059
a Safe and Productive Internet" | http://www.n2h2.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
Email to majordomo at pm.org: ACTION spug-list your_address
More information about the spug-list
mailing list