in reply to How could I check if a variable is 'read-only'?
And what's wrong with:foreach (@_) { # use $_ here }
Have you looked into using File::Spec (standard with Perl I think). I think using canonpath and/or no_upwards might do what you're looking for in an easier to maintain and more portable manner.foreach my $some_path (@$path_list) { # etc }
Hope this helps...
gav^
|
|---|