in reply to Almost certainly a module documentation issue
A preliminary attempt to look at the source code of the module foundered
It's here, the bit of code that is relevant here is "has 'fh' => ( isa => InstanceOf['IO::Handle'], ..." (and yes, this is from Moo).
To put 1nickt's suggestion into code - if you modify your code like the following, it works for me:
use IO::Handle; my $sm = IO::Handle->new; open ($sm, ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Almost certainly a module documentation issue
by dd-b (Pilgrim) on Oct 14, 2017 at 20:24 UTC | |
by haukex (Archbishop) on Oct 15, 2017 at 11:04 UTC |