Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How to concatenate N binary buffers?

by AnomalousMonk (Canon)
on Nov 13, 2012 at 18:15 UTC ( #1003683=note: print w/replies, xml ) Need Help??


in reply to How to concatenate N binary buffers?

    my $bufsize = 256 * 1024;

I'm so paranoid, I would use a constant of some kind to represent a constant value, e.g.:
    use constant BUFFSIZE => 256 * 1024;