Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?


by Madams (Monk)
on Mar 17, 2001 at 06:05 UTC ( #65099=note: print w/replies, xml ) Need Help??

in reply to TIMTOWTDI -- so long as it's not my way

#/usr/bin/perl -w use strict; #much other stuff.... #initializations etc.... foreach $file (@list_of_filenames){ open(THISFILE,'< $file') or warn "ERROR: Can't open $file!\n";#for + this application fail to open is not fatal.. binmode(THISFILE); $data = Digest::MD5->new->addfile(*THISFILE)->hexdigest; return unless ($data); #...process $data..... }
Gee, why does every file have the same digest?....
Maybe because open tries to open a file NAMED: " < $file " ?
I keep tripping on the q() vs qq() vs qw() vs qx()

(__) (\/) /-------\/ / | 666 || * ||----||

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://65099]
[james28909]: well, i can stream from ffmpeg to mpc-hc with udp:// port. guess i just need to grab these packets and slap a rtp header on it and encrypt it with linsodium and send it.
[james28909]: in the rtp header, there is a nonce, i can just make this any number and increment it per packet?

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-05-23 05:17 GMT
Find Nodes?
    Voting Booth?