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

Re: Re: Re: is perl the best tool for this job?(emphatically Yes!)

by edan (Curate)
on Oct 20, 2003 at 12:51 UTC ( [id://300548]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: is perl the best tool for this job?(emphatically Yes!)
in thread is perl the best tool for this job ?

read(FH, $val, 128);

Please keep in mind that read FILEHANDLE,SCALAR,LENGTH

'Attempts to read LENGTH bytes of data ...' (emphasis mine - from perldoc -f read)

You mentioned that you're working with 128 bit 'frames', so you'll want to do 16 byte reads in order to get a 'frame'.

--
3dan

  • Comment on Re: Re: Re: is perl the best tool for this job?(emphatically Yes!)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (1)
As of 2024-04-25 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found