ingydotnet / io-all-pm

All in One Perl IO
http://search.cpan.org/dist/IO-All/
38 stars 20 forks source link

Useless use of numeric gt (>) in void context #116

Closed druud closed 4 years ago

druud commented 4 years ago

io($pfn) > io->catfile($pn, $fn);

How to best fix the code? Maybe: io($pfn) > io->catfile($pn, $fn) or warn "$!";

druud commented 4 years ago

Is caused by bad overload context. (am still debugging)