On Sat, Jun 22, 2002 at 11:42:40PM -0500, Shawn wrote:
> >>> On Sat, 2002-06-22 at 13:53, Shawn wrote:
> >>
> >> my %hash = (user => 1,pass => 2,thing => 3,ptr => [qw(4 5)],);
> >>
> >> my $hash_ref = \%hash;
> >>
> >> print split(/ /,%$hash_ref ), "\n";
> >> print "Not Split: ", %$hash_ref, " :\
Shawn wrote:
>
> From: "Marco Antonio Valenzuela Escárcega" <[EMAIL PROTECTED]>
> >
> > here's the problem: when you try to concatenate the hash to the string
> > you are evaluating it in scalar context, and that's why it gives you the
> > number of used buckets
> >
> > this should work:
> > $sel
EMAIL PROTECTED]>
Sent: Sunday, June 23, 2002 12:11 AM
Subject: Re: Debug and dereferrencing a hash
> On Sat, 2002-06-22 at 21:42, Shawn wrote:
> > >>> On Sat, 2002-06-22 at 13:53, Shawn wrote:
> > >>>> Is there a reason for this, and is there a way I can see what th
On Sat, 2002-06-22 at 21:42, Shawn wrote:
> >>> On Sat, 2002-06-22 at 13:53, Shawn wrote:
> Is there a reason for this, and is there a way I can see what the
> actuall values are? The values are passed just fine to the sub routines,
> I just want my debug log to show that values
>>> On Sat, 2002-06-22 at 13:53, Shawn wrote:
Is there a reason for this, and is there a way I can see what the
actuall values are? The values are passed just fine to the sub routines,
I just want my debug log to show that values passed without having to
set up a for loop (
On Sat, Jun 22, 2002 at 04:42:42PM -0700, drieux wrote:
>
> On Saturday, June 22, 2002, at 03:09 , Marco Antonio Valenzuela Escárcega
> wrote:
>
> >On Sat, 2002-06-22 at 13:53, Shawn wrote:
> [..]
> >>Is there a reason for this, and is there a way I can see what the
> >>actuall values are? Th
On Sat, 2002-06-22 at 13:53, Shawn wrote:
> Hello all,
> I am working on a script that I have several debug statements that try to tell me
>what is contained in a hash referrence. While I am tailing the log file, the hashes
>derefference (%$hash_ref) to n/n (ei: 1/8) instead of the actual ref
On Sat, 2002-06-22 at 13:53, Shawn wrote:
> Hello all,
> I am working on a script that I have several debug statements that try to tell me
>what is contained in a hash referrence. While I am tailing the log file, the hashes
>derefference (%$hash_ref) to n/n (ei: 1/8) instead of the actual ref
Hello all,
I am working on a script that I have several debug statements that try to tell me
what is contained in a hash referrence. While I am tailing the log file, the hashes
derefference (%$hash_ref) to n/n (ei: 1/8) instead of the actual referrence (ie:
user=>'1', pass=>'2'). The arrays