> On Fri, 12 Mar 2004, R. Joseph Newton wrote:
> > Charlotte Hee wrote:
> >
> > > $byname{ Owen }{ PHONE } = '999-';
> >
> > Should be:
> > $byname{ Owen }->{ PHONE } = '999-';
> > are you using strict? The code above should cause an error, not
> > just an uninitialized variable warning.
On Fri, 12 Mar 2004, R. Joseph Newton wrote:
>
> Charlotte Hee wrote:
>
> >
> > For a single record I can see how that works but let's say I have
> > 4 or 5 employees and I have the employee information for each one
> > (assumed). Now I want to build a record for each employee in a loop like
> >
James Edward Gray II wrote:
> On Mar 13, 2004, at 12:36 AM, R. Joseph Newton wrote:
>
> > Charlotte Hee wrote:
> >
> >> $byname{ Owen }{ PHONE } = '999-';
> >
> > Should be:
> > $byname{ Owen }->{ PHONE } = '999-';
> > are you using strict? The code above should cause an error, not just
On Mar 13, 2004, at 12:36 AM, R. Joseph Newton wrote:
Charlotte Hee wrote:
$byname{ Owen }{ PHONE } = '999-';
Should be:
$byname{ Owen }->{ PHONE } = '999-';
are you using strict? The code above should cause an error, not just
an
uninitialized variable warning.
This isn't true. The ar
Charlotte Hee wrote:
>
> For a single record I can see how that works but let's say I have
> 4 or 5 employees and I have the employee information for each one
> (assumed). Now I want to build a record for each employee in a loop like
> this:
>
> @names = ('Jason','Aria','Samir','Owen');
>
> fo
Charlotte Hee wrote:
>
> On Thu, 11 Mar 2004, John W. Krahn wrote:
> >
> > Charlotte Hee wrote:
> > >
> > > I tried the following but it doesn't work and gives an error.
> > >
> > > $byname { $record->{"Jason"}->PHONE } = '999-'; # error undefined val
> > >
> > > I keep looking at the syntax
On Thu, 11 Mar 2004, John W. Krahn wrote:
> Date: Thu, 11 Mar 2004 16:33:00 -0800
> From: John W. Krahn <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: not getting the syntax
>
> Charlotte Hee wrote:
> >
> > Hello,
>
> Hello,
>
> >
Charlotte Hee wrote:
>
> Hello,
Hello,
> I'm looking at the perl cookbook example on how to create a record data
> type:
>
> $record = {
> NAME => "Jason",
> EMPNO => 132,
> TITLE => "deputy peon",
> AGE=> 23,
> SALARY => 37_000,
> PALS => [ "Norbert", "Rhys"