Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

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

by BrowserUk (Pope)
on Aug 02, 2003 at 00:08 UTC ( #280194=note: print w/ replies, xml ) Need Help??


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

Here's intriguing:) ??

perl -e"autoflush STDOUT, 1;" Can't locate object method "autoflush" via package "IO::Handle" at -e +line 1.

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller
If I understand your problem, I can solve it! Of course, the same can be said for you.


Comment on Re: Re: Re: Re: Re: Perl Idioms Explained - $|++
Download Code
Re: Re: Re: Re: Re: Re: Perl Idioms Explained - $|++
by sauoq (Abbot) on Aug 02, 2003 at 00:33 UTC

    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://280194]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (18)
As of 2014-12-19 17:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (90 votes), past polls