Greetings mrbbq,
You have a single-quote just before $tar_file that doesn't match the double-quote at the end. You should either change the single to a double, or (and better) just drop the quotes.
use strict; my $tar_file = 'anything.tgz'; $tar->read( $tar_file, 1, { 'extract' => 1 } );
gryphon
Whitepages.com Development Manager (DSMS)
code('Perl') || die;
In reply to Re^3: Untaring with perl
by gryphon
in thread Untaring with perl
by mrbbq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |