Thanks for the quick and excellent response. I quoted your answer for the
benefit of others. Perl's syntax to work with references is giving me a few
"growing pains" I suppose, though I'm not opposed to working with it once I
get it through my head what is required to make Perl understand what
On Feb 21, [EMAIL PROTECTED] said:
>Using the following code, I want to create a hash or individual lists. Of
>course, this code doesn't work
>
>What do I need to change to correct my error?
push() requires an array. $foo{bar} is a scalar. @{ $foo{bar} } is an
array.
>push($printQueue{A}
Using the following code, I want to create a hash or individual lists. Of
course, this code doesn't work
What do I need to change to correct my error?
--- Code follows ---
#!/perl/bin/perl
use strict;
my %printQueue;
push($printQueue{A}, 'This is the first line in A')