Perl5-IDEA icon indicating copy to clipboard operation
Perl5-IDEA copied to clipboard

Warning on using IO::Handle methods

Open rwp0 opened this issue 3 years ago • 3 comments

printf method is defined in IO::Handle module

Screenshot

I don't know if it's possible to add definition for filehandle OO methods, but that would prevent warnings from showing up.

Thanks.

rwp0 avatar May 08 '22 10:05 rwp0

Have you deparsed XSubs?

hurricup avatar May 08 '22 16:05 hurricup

Probably yes, I have _Deparsed_XSubs.pm in place.

Just run Tools -> Perl5 -> Re-Generate XSubs Declarations if that's what you mean.

rwp0 avatar May 08 '22 18:05 rwp0

Is IO::Handle::printf there? Try to specify type of $file explicitly with annotation and see if it helps.

hurricup avatar May 08 '22 18:05 hurricup

Can we close this one?

hurricup avatar Mar 11 '23 13:03 hurricup