[ic] Can IC always look in ~/pages/?
emailgrant at gmail.com
Fri Oct 1 23:08:17 UTC 2010
>>> shift just grabs the first argument for the function from @_;
>> I tried to replace:
>> my $path = shift;
>> my $path = @_;
>> but it doesn't work. Does shift do something special here?
> That would return the number of elements in the array @_. You want:
> my ($path) = @_;
Thanks Peter, I'm getting to know IC pretty well but my perl skills
are still sorely lacking.
More information about the interchange-users