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
In reply to Re: search for a file
by liverpole
in thread search for a file
by sombhotla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |