And slightly weirder:
sub all_same_file { join(" ",map{(stat)[0,1]}@_) =~ /^(\d+ \d+) (\1 ?){$#_}$/; }
In reply to Re: Re: Re: Test to see if directories are the same
by danger
in thread Test to see if directories are the same
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |