Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: $|-- rocks. (Japhy explains where behaviour of --$| is documented)

by eyepopslikeamosquito (Archbishop)
on Jan 04, 2014 at 07:19 UTC ( [id://1069248]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    er,ackrl heP Just another
    
  2. or download this
    sub _{@_<2&&return print@_;my@a;push@{$a[--$|]},$_ for
    @_;_(@$_)for@a};_ split//,"huroP cels,tetah Jen akrr";
    
  3. or download this
    Just another Perl hacker,
    
  4. or download this
    perl -le 'print --$| for 1..5'
    
  5. or download this
    1
    0
    1
    0
    1
    
  6. or download this
    perl -le 'print ++$| for 1..5'
    
  7. or download this
    1
    1
    1
    1
    1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-03-28 23:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found