Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^3: Digest::MD5 addfile() w/ tied filehandle

by jdv (Sexton)
on Sep 01, 2015 at 19:07 UTC ( [id://1140710]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Digest::MD5 addfile() w/ tied filehandle
in thread Digest::MD5 addfile() w/ tied filehandle

1. The actual filehandle to the compressed file my class reads is opened ':raw', yes. I'm not sure where else it would make sense to do this. If I try to binmode the tied filehandle, it just tries to find a BINMODE method in my class, which I would have to define myself (probably as setting the mode of the compressed filehandle as I've already done).

2. I'll try to generate a minimal tied class that demonstrates what I observe. If I see the same thing, does this seem like a bug or a feature request? Would they both go to the same place?

  • Comment on Re^3: Digest::MD5 addfile() w/ tied filehandle

Replies are listed 'Best First'.
Re^4: Digest::MD5 addfile() w/ tied filehandle
by BrowserUk (Patriarch) on Sep 01, 2015 at 19:46 UTC
    If I see the same thing, does this seem like a bug or a feature request? Would they both go to the same place?

    My best guess based upon what I've read in this thread, is that you've encountered a bug in the PERL_IO implementation; and that it is a bug against Perl itself; thus should be aimed at p5p.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.
    I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-26 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found