[lug] Perl question (off os)
Atkinson, Chip
CAtkinson at Circadence.com
Mon Sep 18 09:50:15 MDT 2000
Thanks. The warning text indicates that I should use 'a' => 'abc', but what
really puzzles me is that for m, q, s, x, and y, I get the warnings, but I
don't get the warnings for a, r, and z. I can just put apostrophe's around
the hash keys, but it's kind of puzzling just the same.
Chip
-----Original Message-----
From: Sean Reifschneider [mailto:jafo at tummy.com]
Sent: Monday, September 18, 2000 9:46 AM
To: lug at lug.boulder.co.us
Subject: Re: [lug] Perl question (off os)
On Mon, Sep 18, 2000 at 09:42:47AM -0600, Atkinson, Chip wrote:
>%nsp_code = (
> a => 'Abc',
You probably want either:
$a => 'Abc',
or
'a' => 'Abc',
The warnings indicate Perl was doing the latter.
Sean
--
What we see depends on mainly what we look for.
-- John Lubbock
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
_______________________________________________
Web Page: http://lug.boulder.co.us
Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list