Sometime on Nov 24, Ken Corey assembled some asciibets to say: > # attempt 1 > my @test = (); > push @test { name=>"foo",value=>"blitz" }; ^^^ missing comma.
you're referring to the hash %test, and trying to retrieve keys name, foo, value and blitz. ie, you're trying to get the array formed out of the values ($test{'name'}, $test{'foo'}, $test{'value'}, $test{'blitz'}); > # Gets "Global symbol "%test" requires explicit package name at ...[push > line]" !?!?! there is no %test. > > # attempt 2 > my @test = (); > push @test \{ name=>"foo",value=>"blitz" }; same here. > # Gets "Backslash found where operator expected at ...[push line]" > > # attempt 3 > my @test = (); > push @test [ { name=>"foo",value=>"blitz" } ]; ditto > # Gets "Type of arg 1 to push must be array (not array slice) at > ...[push line]" are you using the -w flag? -- And now for something completely different. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users