RE: Nested hash creation help !

2003-01-21 Thread Scot Needy
; print Dumper(\%time); José. > -Original Message- > From: Scot Needy [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 20, 2003 6:50 AM > To: Beginners Perl > Subject: Nested hash creation help ! > > > Hi; > > Trying to crate a nested hash from variables

Nested hash creation help !

2003-01-20 Thread Scot Needy
Hi; Trying to crate a nested hash from variables parsed out of log files but as I am a "Beginner Perl' coder it is failing terribly. The basic question is given you have 5 variables how would you make a nested hash. Thanks ! Scot I hope this is enough code to example my problem. --

Whats the best way to convert a nested hash to SQL ?

2002-05-24 Thread Scot Needy
Hi again all; Man this list is busy OK I am back to Solaris::Kstat Kstat is a Nested hash which can be displayed something like this foreach my $m (sort(keys(%$ks))) { foreach my $i (sort(keys(%{$ks->{$m}}))) { foreach my $n (sort(keys(%{$ks->{$m}->{$i}}))) {

Re: Autoloader and DynaLoader on NFS - was Re: SUMMARY:Re:DynaLoader and @INC HELP !

2002-05-17 Thread Scot Needy
On Fri, 2002-05-17 at 12:01, drieux wrote: > > On Friday, May 17, 2002, at 07:59 , Scot Needy wrote: > > > I turned on debug in perl5/5.00503/sun4-solaris/DynaLoader.pm > > $dl_debug = 1; > > > > Turns out it WAS scanning /path/to/modules/SunOS/5.6 > > Ju

SUMMARY:Re: DynaLoader and @INC HELP !

2002-05-17 Thread Scot Needy
what is in @INC by printing it in your perl code. print "\@INC is @INC\n"; @INC is /var/opt/modules/SunOS/5.6 ...etc On Fri, 2002-05-17 at 10:50, drieux wrote: > > On Friday, May 17, 2002, at 07:31 , Scot Needy wrote: > > > Still have a problem with this. > > In my

DynaLoader and @INC HELP !

2002-05-17 Thread Scot Needy
Hi All, Still have a problem with this. In my perl code I can add to @INC one of 2 ways. use lib "/path/to/modules/SunOS/5.6" OR BEGIN { use POSIX qw(uname); my ($uname_s, $uname_r) = (POSIX::uname())[0,2]; unshift(@INC, "/path/to/modules/$uname_s/$uname_r" ); } If I use the BEGIN