Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
P is for Practical
 
PerlMonks  

Reaped: new to perl and have a list question

by NodeReaper (Curate)
on Mar 21, 2006 at 15:17 UTC ( [id://538286]=perlquestion: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

This node was taken out by the NodeReaper on Mar 21, 2006 at 21:58 UTC
  • Comment on Reaped: new to perl and have a list question

Replies are listed 'Best First'.
Re: new to perl and have a list question
by marto (Cardinal) on Mar 21, 2006 at 15:25 UTC
    snyder,

    In what way does this differ from your previous question tar help?
    You have not replied to any of the monks who have answered your previous request for help.
    Are you having any problems following their advice?
    I notice you are new to the Monastery, please read the PerlMonks FAQ and How do I post a question effectively? if you have not already done so.

    Hope this helps.

    Martin
      Ah, this forum is a little different than I am used to. I see the response to the post yesterday by following the link you provided. My apologies for redundant posting. I will pursue the suggestions in yesterdays post.
Re: new to perl and have a list question
by zer (Deacon) on Mar 21, 2006 at 15:28 UTC
    "build" a list?
    do you mean to read a directory?
    You should be a little more specific with what you want to do and maybe show a bit of code to show us where you are

    Take a look at "How to post a question effectively"

Re: new to perl and have a list question
by InfiniteSilence (Curate) on Mar 21, 2006 at 16:39 UTC
    If I am not mistaken you want to know how to use Archive::Tar in this way:
    tar -cvf too-bad-v0.1.tar -T MYFILENAME.txt
    Where the contents of MYFILENAME.txt are:
    file1.txt file2.txt ...
    This feature can actually be very useful if you have a large directory but only want to recreate periodic tar-balls of certain files in it. After re-reading the perldoc I don't see that feature in my installed version. To emulate it, you can just read the contents of your file, turn the lines into an array of file names (remember to chomp), and then use the add_files() method in Archive::Tar if I am not mistaken.

    Celebrate Intellectual Diversity

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://538286]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.