Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
but cannot think hot to create also a unique filehandle. Or don't I need it? E.g could I use:$random_number = rand(); $tmpfile="TEMPFILE.random_number";
or would this be dangerous?$random_number = rand(); $tmpfile="TEMPFILE.random_number"; open OUT, ">$tmpfile";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unique filehandle -- what is correct?
by Perlbotics (Archbishop) on Dec 11, 2011 at 11:37 UTC | |
by Anonymous Monk on Dec 11, 2011 at 12:32 UTC | |
|
Re: Unique filehandle -- what is correct?
by Anonymous Monk on Dec 11, 2011 at 10:37 UTC | |
by i5513 (Pilgrim) on Dec 11, 2011 at 12:34 UTC | |
|
Re: Unique filehandle -- what is correct?
by TJPride (Pilgrim) on Dec 11, 2011 at 13:16 UTC | |
by JavaFan (Canon) on Dec 11, 2011 at 15:58 UTC | |
by TJPride (Pilgrim) on Dec 12, 2011 at 03:57 UTC | |
by afoken (Chancellor) on Dec 12, 2011 at 11:37 UTC | |
by JavaFan (Canon) on Dec 12, 2011 at 12:11 UTC |