Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Replace duplicate files with hardlinks

by Anonymous Monk
on Jul 05, 2013 at 10:00 UTC ( #1042671=note: print w/replies, xml ) Need Help??


in reply to Re: Replace duplicate files with hardlinks
in thread Replace duplicate files with hardlinks

Given ...

... push @{ $real_dups{ stat($filename)->inode } }, $filename; ...

... myuserid7 (*{), you may be using built-in &stat function and not &File::Stat::stat.

That, or &File::Stat::stat failed for some reason and did not return an object as expected (to state the obvious). In which case print the file path being questioned and verify its properties yourself when you see the error message again.

Could you verify that one way or another?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1042671]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2023-10-02 12:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?