in reply to printing an array reference

@fieldNames = @{$sth->{NAME_uc}};

See perlref for more information on this. Like in many other languages, you gotta tell the compiler whether you want the reference, or what it references - this is perl's syntax. Changing for perl6, I think.

Replies are listed 'Best First'.
Re^2: printing an array reference
by gryf (Novice) on Jul 18, 2005 at 21:27 UTC
    That appears to have done it. I have been going back and forth between the Camel, LLama, and the Camel Head looking for this syntax. The perl.doc website has been quite reluctant to come up from my location so I appreciate your patience and assistance.

    I have to say, I would not have picked up on this after a quick reading of the perlref page ( which deigned to come up this time ). Thanks for distilling the idea for me.