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: TCP/IP client

2009-06-10 Thread Chas. Owens
On Wed, Jun 10, 2009 at 01:40, Octavian Rasnita wrote: snip > IO::Socket::INET doesn't give too many details about the methods it > supports, and I need to also study IO::Socket, and Socket and finally many > other built in perl functions or perlipc. I will study them, but I told I > was searching

better way to write this

2009-06-10 Thread raphael()
Hi, It is actually very enlightening to read all the post on this list. Most of the stuff actually goes over my head as I have no need/knowledge of CGI or dbase. Just some text processing. I am new to Programming/Perl (chapter 5 "Learning Perl"). I also read a little about 'system() & exec().

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

Working with a hash within an object

2009-06-10 Thread 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 (or find how to) iterate over the item

DBD::Oracle error

2009-06-10 Thread Anirban Adhikary
Hi list when I am running a perl code which uses DBI and DBD::Oracle I am getting the following error DBD::Oracle initialisation failed: Undefined subroutine &DBI::common::STORE called at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/DBD/Oracle.pm line 68. at ctva/data/libora.pm line