p5-type-tiny icon indicating copy to clipboard operation
p5-type-tiny copied to clipboard

Call to `tie` does not initialize variable as documented

Open m-dango opened this issue 2 years ago • 0 comments

There are places in the documentation where Perl's tie is used to initialize a variable. However, the args given after the type look to be dropped. I'm not sure if this is a documentation error or a bug.

https://replit.com/@m-dango/TypeTiny-tie#main.pl

https://github.com/tobyink/p5-type-tiny/blob/48a4d53e444df42680076db82b9e742e9886cae7/lib/Type/Tiny/Manual/UsingWithMoo2.pod?plain=1#L280

https://github.com/tobyink/p5-type-tiny/blob/48a4d53e444df42680076db82b9e742e9886cae7/lib/Type/Tie.pm#L344

m-dango avatar Jul 20 '23 10:07 m-dango