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*)
Thanks! ----- Original Message ----- From: "Jeff 'japhy' Pinyan" <[EMAIL 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 > >Use of uninitialized value at ./devicesWIP line 198. > >$device{$_}: xx > > >print '$device{server1}: x' . $device{server1} . "x\n"; > >print '$_: x' . $_ . "x\n"; > >print '$device{$_}: x' . $device{$_} . "x\n"; > > I'd check the length of $_, too. It might have an unprintable character > in it. > > -- > Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ > RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ > <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. > [ I'm looking for programming work. If you like my work, let me know. ] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]