Hi all,
I am writing a program that creates a file and write some data into it
using the usual
open (OUT, ">filename") or die "can't open file '$file'\n"; way
but, how can I make the program to create a file with a name that is
given as one of
the program inputs?
In other words if I execute the program as it follows:
program.pl input1 input2 filename.out
program.pl should use take input1 and input2, do the job, and write the
data to a new file named "filename.out".
Any help wellcome.
Cheers
--
***************************************************************************
PEDRO a. RECHE gallardo, pHD TL: 617 632 3824
Scientist, Mol.Immnunol.Foundation, FX: 617 632 3351
Dana-Farber Cancer Institute, EM:
[EMAIL PROTECTED]
Harvard Medical School, URL: http://www.reche.org
44 Binney Street, D610C,
Boston, MA 02115
***************************************************************************