Guys, having a lot of trouble trying to import. Could really use some help. I am getting String found where operator expected at ./backup_db.pl line 1512, near "gzip "${FileName}"" (Do you need to predeclare gzip?) Am I doing this wrong?
if (eval { require IO::Compress::Gzip } ) { IO::Compress::Gzip->import ( qw (gzip $GzipError) ); $status = gzip "${FileName}" => "${FileName}.gz" or die "gzip failed: +$GzipError\n";
In reply to Help with import of module by panman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |