Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: ID3v2 TAG Footer Reading goes wrong (more subs)

by Anonymous Monk
on Jan 06, 2014 at 23:35 UTC ( #1069599=note: print w/ replies, xml ) Need Help??


in reply to Re: ID3v2 TAG Footer Reading goes wrong (more subs)
in thread ID3v2 TAG Footer Reading goes wrong

Bah, typos/missing

ReadBytes(\*STDOUT,10); ## a test :) sub ReadBytes { my( $fh, $bytes ) = @_; $bytes or Carp::croak 'Usage: ReadBytes( $filehandle, $bytes ) '; my $readed = read $fh, my($data) , $bytes; $readed == $bytes or Carp::carp "Only read($readed) but wanted($by +tes): $! ## $^E "; $data; } use constant CAN_PACK_QUADS => !! eval { my $f = pack 'q'; 1 };


Comment on Re^2: ID3v2 TAG Footer Reading goes wrong (more subs)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-12-25 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls