Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: ztk-webcam snapshot-grabber

by ambrus (Abbot)
on Jul 18, 2011 at 20:41 UTC ( [id://915279]=note: print w/replies, xml ) Need Help??


in reply to ztk-webcam snapshot-grabber

See also In Search of a Better Mousetrap.

Replies are listed 'Best First'.
Re^2: ztk-webcam snapshot-grabber
by PhillipHuang (Beadle) on Jul 20, 2011 at 09:38 UTC

    Would you explain what "$|++" meaning is in the code? Thanks

      Would you explain what "$|++" meaning is in the code? Thanks

      Its like $foo++ except working on the variable $| , a reall shell-ish (or hack-ish) way to turn autoflush on, as in

      use IO::Handle; print 1; # doesn't print, puts 1 in the buffer STDOUT->autoflush(1) print 1; # prints 1 immediately (and the previously buffered 1) print "\n2\n"; # \n forces a flush
      Tutorials: Input and Output: Suffering from Buffering?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-19 10:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found