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).]
_________
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).]