Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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]: Corion, I think in the past this was a big problem for them. GPU driver wise the improve all the time. I use the open source drivers on my machine (old R9 270, 2GB) and had no problems
[Discipulus]: is not the problem with new hardware?
[marto]: notepad++ ticks all the boxes for me, it's a fine line between just enough, and bloat, in editors for me :P
[marto]: Discipulus]: less so than the modern intel CPUs
[marto]: also, AMD are faster at fixing the CPU microcode it would seem

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2017-07-27 09:02 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (407 votes). Check out past polls.