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

Testing a file for being a 'named pipe'. #3419

Open
p6rt opened this issue Jun 24, 2014 · 1 comment
Open

Testing a file for being a 'named pipe'. #3419

p6rt opened this issue Jun 24, 2014 · 1 comment
Labels
NYI Features not yet implemented

Comments

@p6rt
Copy link

p6rt commented Jun 24, 2014

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

Searchable as RT122173$

@p6rt
Copy link
Author

p6rt commented Jun 24, 2014

From andynparker@googlemail.com

Gentlemen,

The following code fails though I think this is legal syntax​:

/home/aparker/Downloads/rakudo-star-2014.04/install/bin/perl6-p -e 'my
$a = "julia_source"; if $a.IO ~~ :p {say "Hi!"; } '

No such method 'p' for invocant of type 'IO​::Handle'
  in method ACCEPTS at gen/parrot/CORE.setting​:8848
  in method ACCEPTS at gen/parrot/CORE.setting​:794
  in block at -e​:1

I wish to test a file for being a named pipe (mkfifo) using the
'$filename.IO ~~ :p' syntax. The one liner works perfectly with the
'~~ :d' for directory option.

Andrew Parker

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

No branches or pull requests

1 participant