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

perl6 -n does not set $_ when it's interpolated via a block #5901

Open
p6rt opened this issue Dec 21, 2016 · 1 comment
Open

perl6 -n does not set $_ when it's interpolated via a block #5901

p6rt opened this issue Dec 21, 2016 · 1 comment
Labels

Comments

@p6rt
Copy link

p6rt commented Dec 21, 2016

Migrated from rt.perl.org#130383 (status was 'new')

Searchable as RT130383$

@p6rt
Copy link
Author

p6rt commented Dec 21, 2016

From @zoffixznet

$ perl6 -n -e 'say "$_"' foo
a
b
c
d

$ perl6 -n -e 'say "{$_}"' foo
Use of uninitialized value $_ of type Any in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.
  in block at -e line 1

Use of uninitialized value $_ of type Any in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.
  in block at -e line 1

Use of uninitialized value $_ of type Any in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.
  in block at -e line 1

Use of uninitialized value $_ of type Any in string context.
Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.
  in block at -e line 1

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant