Re: Working with a hash within an object

2009-06-10 Thread Steve Bertrand
Jenda Krynicky wrote: > Try the perlreftut man page. > (http://perldoc.perl.org/perlreftut.html) I have to give complete kudos to the maintainers of perl.org, particularly regarding the spectacular ability to 'point-and-click' to print a PDF of a specific perldoc, so it can be reviewed on paper w

Re: Working with a hash within an object

2009-06-10 Thread Steve Bertrand
Jenda Krynicky wrote: > From: Steve Bertrand >> I'm going to have to really focus on learning about the dereferencing >> factor, and where/when some of the [${}->] etc need to be, because I >> don't have a very good grasp on that. > > Try the perlreftut man page. > (http://perldoc.perl.org/perlr

Re: Working with a hash within an object

2009-06-10 Thread Jenda Krynicky
From: Steve Bertrand > Jenda Krynicky wrote: > > From: Steve Bertrand > >> my $user = EagleUser->new(); > >> > >> $user->build_inf_user('steveb'); > >> > >> print "$user->{'login_name'}\n"; # outputs 'steveb' as expected > >> > >> while ( my ($key, $value) = each($user) ) { > > > > while ( my

Re: Working with a hash within an object

2009-06-10 Thread Steve Bertrand
Jenda Krynicky wrote: > From: Steve Bertrand >> Hi all, >> >> I know this is a no-brainer, but I'm drawing a blank after coding all >> day (I'm not a coder by trade). >> >> I'm trying to write a test program for a function I'm accessing from a >> module I wrote years ago, and because I'm over-tire

Re: Working with a hash within an object

2009-06-10 Thread Jenda Krynicky
From: Steve Bertrand > Hi all, > > I know this is a no-brainer, but I'm drawing a blank after coding all > day (I'm not a coder by trade). > > I'm trying to write a test program for a function I'm accessing from a > module I wrote years ago, and because I'm over-tired, I can't remember > how to