Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to tie does not initialize variable as documented #143

Open
m-dango opened this issue Jul 20, 2023 · 0 comments
Open

Call to tie does not initialize variable as documented #143

m-dango opened this issue Jul 20, 2023 · 0 comments

Comments

@m-dango
Copy link

m-dango commented Jul 20, 2023

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

tie my $count, Int->plus_coercions(Num, 'int $_'), 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant