On Thu, Sep 26, 2002 at 03:02:04PM -0700, Matt Simonsen wrote: > I need to move several files
Moving files can be accomplish with rename, perldoc -f rename. > and compress them - what's the preferred way to do this? It depends on your requirements, there is no single preferred method. Compress::Zlib and the library it's based on are probably a little more popular than other methods because it's so portable, and the compression algorithm is not encumbered by patent and copyright issues. I'm sure you've already encountered CPAN. There are several modules in the Compress:: namespace, I would suggest you take a look at each to see how convenient it is, and whether or not it fits your needs. > I don't think Zlib::Compress is what I want, it seems more geared towards > dealing with small streams... although I suppose I could look over each > line and write that out. Compress::Zlib is geared towards compressing data of any size, it's just that it doesn't have any convenience functions for compressing an entire file. Instead, you have to do it yourself. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]