in reply to search for a file

Of course, you can always use an environment variable to construct the path, if that's what you need:
use strict; use warnings; (my $file = shift) or die "No file specified.\n"; my $dir = $ENV{'USER_PATH'} || "."; # Use current directory if USER +_PATH not set my $path = "$dir/$file"; # Construct full pathname

s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/