Karl Kaufman wrote:
> Cupie doll for Mr. Pinyan... thanks!
>
> Both 'length' and (/^\w+$/) indicate an unprintable character in $_.
> Now to find out what it is and where it's coming from. (*argh*)
Karl.
Perl is quite happy indexing a hash with an unprintable character, so
it won't cause a hash
PROTECTED]>
To: "Karl Kaufman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 8:40 PM
Subject: Re: Trouble with referencing hash entry
> On Feb 4, Karl Kaufman said:
>
> >$device{server1}: x1x
> >$_: xserver1x
> >
On Feb 4, Karl Kaufman said:
>$device{server1}: x1x
>$_: xserver1x
>Use of uninitialized value at ./devicesWIP line 198.
>$device{$_}: xx
>print '$device{server1}: x' . $device{server1} . "x\n";
>print '$_: x' . $_ . "x\n";
>print '$device{$_}:
Karl Kaufman wrote:
Help,please...!, I'm dead in the water trying to understand why I'm unable to reference hash entries in what *I consider* to be a fairly straightforward manner. Any help/pointer is appreciated.
The hash entries *must* exist because I can reference and print them using a lit
Help,please...!, I'm dead in the water trying to understand why I'm unable to
reference hash entries in what *I consider* to be a fairly straightforward manner.
Any help/pointer is appreciated.
The hash entries *must* exist because I can reference and print them using a literal
key (or within