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.
In reply to Re: This is not a pipe
by Tanktalus
in thread This is not a pipe
by TGI
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |