Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Archive::Tar

by graff (Chancellor)
on Jun 01, 2004 at 04:06 UTC ( #357923=modulereview: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $tar_obj = Archive::Tar->new;
    $tar_obj->read( "my.tar")
    
    # or just: my $tar_obj = Archive::Tar->new( "my.tar" );
    
  2. or download this
    use Archive::Tar;
    
    ...
        my $filedata = $tar->get_content( $filename );
        # do other stuff...
    }
    
  3. or download this
    use Archive::Tar;
    
    ...
        my $data = $file->get_content;  # same as above, but no searching 
    +involved
        # do other stuff...
    }
    
  4. or download this
    my %cksums;
    
    ...
          $cksum{$file->cksum} = undef; # keep track of cksums
       }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: modulereview [id://357923]
help
Chatterbox?
[PriNet]: i think i found the problem, the "source" array that sets the individual key values isn't being cleared, it's keeping the previous values...
[atcroft]: PriNet: You might consider posting a small, self-contained snippet of that segment of your code, and see if someone else has a better idea.....
[atcroft]: PriNet: Ahhh... interesting.
[PriNet]: small would be a problem *heh*... the program reads all the lines from a pdf and converts the individual colum data to a seperate key/value pair... that's where the "previous" array from the pdf is not being cleared properly before reading the next pdf
[atcroft]: PriNet: It was a thought....
[PriNet]: thanx... actually just having someone to talk to was making me think... *heh*
[PriNet]: a regular array would just be "delete @array" correct? no need for the post "()" ?

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2017-06-28 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (620 votes). Check out past polls.