Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Reading Multiple files

by maheshkumar (Sexton)
on Aug 07, 2012 at 11:49 UTC ( #985946=note: print w/ replies, xml ) Need Help??


in reply to Re: Reading Multiple files
in thread Reading Multiple files

Like you mean subroutine? But then what about the file names? Will need different file names for each of the file


Comment on Re^2: Reading Multiple files
Replies are listed 'Best First'.
Re^3: Reading Multiple files
by aitap (Deacon) on Aug 07, 2012 at 12:20 UTC
    You can generate output file names dynamically. For example, my $input=$_[0]; my $output="./Result_of_processing_$input.txt";.
    More strict way: my $output = "Result_".$input.".txt";
    Sorry if my advice was wrong.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985946]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (15)
As of 2015-07-30 16:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls