Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: sub routine needs a variable

Quote Reply
Re: sub routine needs a variable In reply to
I've done all that. If the first line of the sub routine is

$temp = shift;

how do I put the variable into the routine. This may be a silly question but its the syntax of the template parser that I'm not used to. In perl I would just write

&top_five('Variable');

So how do I write this in a template?

Thanks,
Laura.

Subject Author Views Date
Thread sub routine needs a variable afinlr 3306 Feb 24, 2001, 10:50 AM
Thread Re: sub routine needs a variable
Paul 3192 Feb 24, 2001, 10:55 AM
Thread Re: sub routine needs a variable
afinlr 3205 Feb 24, 2001, 11:05 AM
Thread Re: sub routine needs a variable
Paul 3201 Feb 24, 2001, 11:09 AM
Thread Re: sub routine needs a variable
afinlr 3203 Feb 24, 2001, 11:27 AM
Post Re: sub routine needs a variable
Paul 3193 Feb 24, 2001, 11:30 AM
Thread Re: sub routine needs a variable
Alex 3185 Feb 26, 2001, 11:36 PM
Post Re: sub routine needs a variable
afinlr 3176 Feb 27, 2001, 4:17 AM