Re: [quickie] Rounding up to next multiple

Leon Brocard <[email protected]>
Newsgroups gmane.comp.lang.perl.fun
Message-ID <[email protected]>
Paul Makepeace sent the following bits through the ether:

>   $len += $page_size - $len % $page_size if $len % $page_size;

*cough* Data::Page *cough*

http://search.cpan.org/dist/Data-Page/

Leon
-- 
Leon Brocard.............................http://www.astray.com/
scribot.................................http://www.scribot.com/

... BREAKFAST.COM Halted... Cereal Port Not Responding.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.