Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Replace duplicate files with hardlinks

by Anonymous Monk
on Jul 05, 2013 at 10:00 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-20 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found