Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

RE: A whirleygig for a progress indicator for scripts

by btrott (Parson)
on Mar 08, 2000 at 22:57 UTC ( #5032=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @whirley = map chr, qw/32 176 177 178 219 178 177 176/;
    
  2. or download this
    sub whirley {
        $WHIRLEY_COUNT = 0 if ++$WHIRLEY_COUNT == @whirley;
        return $whirley[$WHIRLEY_COUNT];
    }
    
  3. or download this
        return "@whirley[$WHIRLEY_COUNT]";
    
  4. or download this
        return $whirley[$WHIRLEY_COUNT];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://5032]
help
Chatterbox?
[marioroy]: ++ choroba
[1nickt]: Topics, choroba?
[james28909]: it assigns the output of yt-dl directly to a var, that way there is no files written to disk, and the var is removed in the end
[james28909]: @choroba yes they do but for some reasom when i try to pipe the output of youtube-dl to ffmpeg, it fails. hence the work around lol
[RonW]: james28909: Interesting trick
[choroba]: The theme is "High-end Perl", so both my talks are antitheses: "Low-end Perl" and "How to almost win a T-shirt in a programming contest"
[RonW]: I wonder if that's a CMD.exe limitation or a Windows limitation
[james28909]: what i am trying to accomplish is piping the output of ffmpeg to yet another encryption routine using libsodium. and hopefully once that is done i will be able to forward the packets to discord servers
[RonW]: choroba: Please define "high end" and "low end"

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2017-05-22 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?