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

Support for double diamond input operator #192

Open
xsawyerx opened this issue Jul 8, 2016 · 0 comments
Open

Support for double diamond input operator #192

xsawyerx opened this issue Jul 8, 2016 · 0 comments

Comments

@xsawyerx
Copy link

xsawyerx commented Jul 8, 2016

The double diamond (<<>>) input operator, introduced by @rgs in 5.22, provides a safer magic input operator that will not execute pipes as part of the input.

According to @Grinnz in Perl::Critic::Freenode, it gets parsed by PPI as two shift operators instead.

Here is the relevant output from PPI::Dumper:

  PPI::Statement
    PPI::Token::Operator    '<<'
    PPI::Token::Operator    '>>'
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