in reply to using hash key as hash value ...
You get that error for both the lines where you use $media{bond} within the definition of %media. But this works fine:Global symbol "%media" requires explicit package name
my %media = ( bond => "USLetter:Plain:white:75", ); $media{letter} = $media{bond}; $media{plain} = $media{bond};
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: using hash key as hash value ...
by blueflashlight (Pilgrim) on Oct 02, 2001 at 07:05 UTC | |
by George_Sherston (Vicar) on Oct 02, 2001 at 14:25 UTC |