I'd suggest:
or evenprint "$_ could not be restored!\n" for grep { not exists $found{$_} } @files;
print map {"$_ could not be restored!\n" } grep { not exists $found{$_} } @files;
In reply to Re: foreach loop on one line
by KurtZ
in thread foreach loop on one line
by halecommarachel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |