Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Perl Idioms Explained - $|++

by PSP (Initiate)
on Aug 03, 2017 at 06:45 UTC ( #1196607=note: print w/replies, xml ) Need Help??


in reply to Perl Idioms Explained - $|++

Thanks for sharing perl knowledge broquaint and helping community. Could you please explain "select undef, undef, undef, 0.25" in details.

Replies are listed 'Best First'.
Re^2: Perl Idioms Explained - $|++
by choroba (Bishop) on Aug 03, 2017 at 08:28 UTC
    See select, the select RBITS,WBITS,EBITS,TIMEOUT section, which shows the very line as an example. It's cleaner to use
    use Time::Hires qw{ sleep }; sleep 0.25;
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1196607]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-12-16 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (453 votes). Check out past polls.

    Notices?