SPUG: Variation on a dumb newbie question

Christopher/Shalah trance at drizzle.com
Fri Sep 24 01:58:11 CDT 1999


## Or to be even more perverse:

%foo = ( 'one' => 'won',
                'two' => 'too',
                'three' => 'tree',
            );

print map { "$_\=$foo{$_}\n" } (keys %foo);


##      produces:
##
##      three=tree
##      two=too
##      one=won



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    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