in reply to Re^2: Can't clone STD handle with :via layer
in thread Can't clone STD handle with :via layer

It's nothing specific to PerlIO::via::QuotedPrint; it seems to happen with all PerlIO::via::* modules, but not with built-in layers like :unix, :utf8, or :encoding(iso-8859-1).

Update: indeed, the error message is generated within PerlIO::via. Here's the relevant code.

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Replies are listed 'Best First'.
Re^4: Can't clone STD handle with :via layer
by zdm (Beadle) on Apr 08, 2014 at 16:00 UTC
    Maybe it makes a sense to create issue in perl rt?