Gossamer Forum
Home : Products : Links 2.0 : Customization :

Help! What does this shift code do?

Quote Reply
Help! What does this shift code do?
Anyone know what this code does?
_________
my $self = shift;
my $template = shift;
__________
It is in Template.pm and it seems to pick up passed data. But, not sure what and how to pass more data to this routine. Would this work if I added it below the above code?
___________
my $build_root_path = shift;
my $Category = shift;
my $ID = shift;
my $build_extension = shift;
_____________
As I want to pass the latter for a mod.

Also, if the shift is picking up the data. I wonder why not use my @data = @_? Is there a difference in these to statements.

Thanks
TimRyan



[This message has been edited by timryan (edited August 04, 1999).]
Subject Author Views Date
Thread Help! What does this shift code do? timryan 3261 Aug 3, 1999, 9:15 PM
Post Re: Help! What does this shift code do?
pugdog 3204 Aug 4, 1999, 6:10 PM
Post Re: Help! What does this shift code do?
TimRyan99 3197 Aug 4, 1999, 7:14 PM
Post Re: Help! What does this shift code do?
pugdog 3193 Aug 4, 1999, 9:17 PM
Post Re: Help! What does this shift code do?
Andrew Mitcham 3215 Aug 4, 1999, 11:18 PM
Post Re: Help! What does this shift code do?
pugdog 3204 Aug 5, 1999, 12:48 AM
Post Re: Help! What does this shift code do?
timryan 3200 Aug 5, 1999, 8:37 AM
Post Re: Help! What does this shift code do?
timryan 3249 Aug 5, 1999, 10:07 AM
Post Re: Help! What does this shift code do?
Bobsie 3199 Aug 5, 1999, 5:48 PM
Post Re: Help! What does this shift code do?
timryan 3226 Aug 6, 1999, 7:08 AM
Post Re: Help! What does this shift code do?
pugdog 3190 Aug 6, 1999, 5:17 PM
Post Re: Help! What does this shift code do?
TimRyan99 3208 Aug 6, 1999, 7:52 PM
Post Re: Help! What does this shift code do?
pugdog 3191 Aug 6, 1999, 8:02 PM
Post Re: Help! What does this shift code do?
timryan 3214 Aug 7, 1999, 8:50 AM