Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Perl Idioms Explained - $|++

by sauoq (Abbot)
on Aug 02, 2003 at 00:33 UTC ( #280197=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Perl Idioms Explained - $|++
in thread Perl Idioms Explained - $|++

This will clear that up some:

$ perl -le 'print ref *STDOUT{IO}' IO::Handle

The note in the BUGS section of the IO::Handle pod is explanatory too:

BUGS Due to backwards compatibility, all filehandles resemble object +s of class "IO::Handle", or actually classes derived from that class +. They actually aren't. Which means you can't derive your own class f +rom "IO::Handle" and inherit those methods.

-sauoq
"My two cents aren't worth a dime.";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://280197]
help
Chatterbox?
[oiskuu]: I'm unfamiliar with android or SELinux. But I believe there is nothing of a kind. Unless you play with capabilities or build your own containers/ namespaces.
[davido]: I am not finding closing STDIN to be an adequate means of making getlogin return undef.

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2017-06-23 19:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (554 votes). Check out past polls.