if (local @ARGV=qw(/etc/mtab) and grep /nfs/, grep m{/home}, <>) { # ... } else { # ... }