in reply to This is not a pipe
How abstract do you want it?
Perl 6 ok?ref($this) ne 'Pipe'; ref($_) ne 'Pipe'; # $_ is a topicaliser, so is "this" - thus, "th +is" == "$_" ! UNIVERSAL::can($this, 'smoke'); $_->can('smoke');
Just wondering.!.isa('Pipe');
Update: Missed the ! on the perl6 code.
|
|---|