http://www.perlmonks.org?node_id=11128792


in reply to Re: Move a file to another directory based on regex match
in thread Move a file to another directory based on regex match

I used /tmp as $OutDir .But still the same error "move failed: Invalid cross-device link"