Hi, I am trying to search files which not equal "user_ABC_*.pdf" * could be anything while $user_input is specified by user. May I know how should I define the naming?
my $user_input = "user"; opendir my $dh4, $doc_dir or die "can't open directory:$!"; while (my $entry3 = readdir $dh4){ if($entry3 ne $user_input."_ABC_"*.pdf{ ...};
In reply to searching files by michael99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |