Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^2: HTML::Template Accessing Params and Reassigning

by Rodster001 (Pilgrim)
on Aug 18, 2009 at 16:26 UTC ( #789515=note: print w/replies, xml ) Need Help??

in reply to Re: HTML::Template Accessing Params and Reassigning
in thread HTML::Template Accessing Params and Reassigning

HTML::Template's param method is returning a scalar reference, so by assigning the return value to an array, you end up with a single element array. That element being the array reference.

Thanks Snoop! That was it... for some reason I was thinking that by assigning it to an array it would dereference it. But, looking at it again this morning I am not sure where my mind was :)

  • Comment on Re^2: HTML::Template Accessing Params and Reassigning

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://789515]
[marto]: they already have an entire BMC patrol system, which they disabled, because it was sending out spurious messages. So rather than fix the issue, or even find out what it was, they turned it off. No messages, can't be any problems, right?
[Corion]: marto: But having open tickets / incidents increases the pressure on them ;) Of course, likely your contract / SLA specifies an upper limit for the number of incidents :-D
[Corion]: marto: Ow ...
[marto]: Corion They don't get into trouble for the number of tickets, or even breached tickets they have
[marto]: which is a core issue with the client
[Corion]: marto: Yeah, I can imagine that
[choroba]: create a ticket if the number of tickets reaches a limit
[choroba]: how deep meta could it go?

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2017-01-24 10:18 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (203 votes). Check out past polls.