Where can I learn about hashes?
At 01:58 PM 6/11/2002 -0500, you wrote: >Don't ask a question like this again... What you should really be asking >is where you can learn about hashes. never ask someone to do your work >for you. Anyway, here... > >print "$_ is $ENV{$_}\n" for (sort keys %ENV); > >On 06/11, phumes1 said something like: > > > > I have a problem...I don't know how to use a hash. :-( > > > > > > At 02:50 PM 6/11/2002 -0400, you wrote: > > >On Jun 11, phumes1 said: > > > > > > >How can fetch all the environment variables and print them to the > screen? > > > > > >The %ENV hash holds all the environment variables. > > > > > >If you know how to use a hash, you can display all the environment > > >variables. > > > > > >-- > > >Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ > > >RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ > > >** Look for "Regular Expressions in Perl" published by Manning, in 2002 ** > > ><stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. > > >[ I'm looking for programming work. If you like my work, let me know. ] > > > > > > > >+-----------------------------------------------------------------------------------+ > > > > > Philip Humeniuk > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > > >+------------------------------------------------------------------------------------+ > > > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > >-- >Shawn Leas >[EMAIL PROTECTED] > >It's a good thing we have gravity or else when birds died they'd just >stay right up there. Hunters would be all confused. > -- Stephen Wright +-----------------------------------------------------------------------------------+ Philip Humeniuk [EMAIL PROTECTED] [EMAIL PROTECTED] +------------------------------------------------------------------------------------+ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]