Re: Param() with a hashref
Roger Burton West <[email protected]> Tue, 29 Apr 2008 14:59:07 +0100
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 29, 2008 at 02:39:17PM +0100, James Hardy wrote:
>the example
>code for section 5 is the same as the example for section 4 after "# And
>with some TMPL_LOOPs:", and as such doesn't seem to use a hashref at all.
It's not, you know.
$self->param(PARAM => 'value',
PARAM2 => 'value',
[...]
vs
$self->param(
{
PARAM => 'value',
PARAM2 => 'value',
[...]
Roger
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone