in reply to Re^4: Count byte/character occurrence (quickly)
in thread Count byte/character occurrence (quickly)

Unfortunately, MCE::Shared does not support a handle obtained by opening a scalar reference. Shared file handles have a real file descriptor.

  • Comment on Re^5: Count byte/character occurrence (quickly)

Replies are listed 'Best First'.
Re^6: Count byte/character occurrence (quickly)
by james28909 (Deacon) on Apr 05, 2016 at 12:26 UTC
    Ok, I was just wondering, because the file has already been read once and seems like it would be even faster if it could act on the scalar. Thanks anyway :)