Dartanion has asked for the wisdom of the Perl Monks concerning the following question:
I do get what is in the array TMP_HEADER printed to my screen so i know it is opening the static file ok and reading it. But when i look at the out_file i don't have the contents of the array in it. can any one help me out. Thanks in advanceopen (STATIC_HEADER, "<\./static_header.ps") ; open (OUT_FILE, ">$OUTPUT_PATH/$SUB_DIR/$NEW_FILE") ; @TMP_HEADER = <STATIC_HEADER> ; print @TMP_HEADER ; print OUT_FILE @TMP_HEADER ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Printing to a file problem
by ehdonhon (Curate) on Aug 22, 2002 at 15:56 UTC | |
by Dartanion (Initiate) on Aug 22, 2002 at 15:59 UTC | |
by waswas-fng (Curate) on Aug 22, 2002 at 16:40 UTC | |
|
Re: Printing to a file problem
by sauoq (Abbot) on Aug 22, 2002 at 15:56 UTC | |
|
Re: Printing to a file problem
by CubicSpline (Friar) on Aug 22, 2002 at 16:01 UTC | |
|
Re: Printing to a file problem
by vek (Prior) on Aug 22, 2002 at 16:03 UTC | |
|
Re: Printing to a file problem
by gnu@perl (Pilgrim) on Aug 22, 2002 at 19:41 UTC | |
by Arien (Pilgrim) on Aug 22, 2002 at 21:56 UTC | |
by gnu@perl (Pilgrim) on Aug 23, 2002 at 14:07 UTC |