On 02/10/10 05:45, Grant wrote: >> shift just grabs the first argument for the function from @_; > > I tried to replace: > > my $path = shift; > > with: > > 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) = @_; Peter