(Randal L. Schwartz) wrote: >>>>>> "Adam" == Adam Jimerson <vend...@charter.net> writes: > > Adam> my %phone_numbers = (); > ... > Adam> $phone_numbers{$_} #needs to print the keys of the hash for the > name, and Adam> values for the phone number so it will be like this "Some > Name 555-555-5555" Adam> . > > Back in the day, formats couldn't access lexical (my) variables. I think > this > got changed, but I stopped paying attention to formats five years ago. > Why are you using formats? >
I decided to use formats because I figured it would be an easy way to have it print out the report the way I want the end result to be. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/