Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: This is not a pipe

by jhourcle (Prior)
on Mar 13, 2005 at 23:59 UTC ( #439160=note: print w/replies, xml ) Need Help??


in reply to Re: This is not a pipe
in thread This is not a pipe

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.

Replies are listed 'Best First'.
Re^3: This is not a pipe
by hardburn (Abbot) on Mar 14, 2005 at 14:13 UTC

    For poetry, I'm not worried about it. Syntax correctness is all that matters, and putting UNIVERSAL in there just adds clutter.

    "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439160]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2019-04-23 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (118 votes). Check out past polls.

    Notices?