If you're worried about errors, I recommend instead:
! UNIVERSAL::isa($this, 'pipe')Just in case there's a possibility that $this might be undef, or an unblessed scalar.
In reply to Re^2: This is not a pipe
by jhourcle
in thread This is not a pipe
by TGI
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |