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

Implement 'perl6 -' for running a program in STDIN in Rakudo #2171

Closed
p6rt opened this issue Sep 16, 2010 · 6 comments
Closed

Implement 'perl6 -' for running a program in STDIN in Rakudo #2171

p6rt opened this issue Sep 16, 2010 · 6 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Sep 16, 2010

Migrated from rt.perl.org#77894 (status was 'resolved')

Searchable as RT77894$

@p6rt
Copy link
Author

p6rt commented Sep 16, 2010

From @masak

From <http://search.cpan.org/~miyagawa/App-cpanminus-1.0013/lib/App/cpanminus.pm>&#8203;:

  curl -L http://cpanmin.us | perl - --sudo App​::cpanminus

This is a pleasant feature to have. Right now, Rakudo gives this​:

$ echo 'say "OH HAI"' | perl6 -
===SORRY!===
Unable to open filehandle from path '-'

S19 doesn't seem to have a mention of '-' and its interpretation.
Which I guess means that it should work as it does in Perl 5.

@p6rt
Copy link
Author

p6rt commented Jan 10, 2015

From @peschwa

On Thu Sep 16 05​:53​:51 2010, masak wrote​:

From <http://search.cpan.org/~miyagawa/App-cpanminus-
1.0013/lib/App/cpanminus.pm>​:

curl -L http://cpanmin.us | perl - --sudo App​::cpanminus

This is a pleasant feature to have. Right now, Rakudo gives this​:

$ echo 'say "OH HAI"' | perl6 -
===SORRY!===
Unable to open filehandle from path '-'

S19 doesn't seem to have a mention of '-' and its interpretation.
Which I guess means that it should work as it does in Perl 5.

This has been addressed in NQP commit 636872ff. A test has been added to roast in commit b1490b59.

@p6rt
Copy link
Author

p6rt commented Jan 10, 2015

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jan 11, 2015

From @usev6

The test in S19-command-line/arguments.t is passing on Moar, Parrot and JVM. I'm closing this ticket now. psch++

1 similar comment
@p6rt
Copy link
Author

p6rt commented Jan 11, 2015

From @usev6

The test in S19-command-line/arguments.t is passing on Moar, Parrot and JVM. I'm closing this ticket now. psch++

@p6rt
Copy link
Author

p6rt commented Jan 11, 2015

@usev6 - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jan 11, 2015
@p6rt p6rt added the Todo 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