Kevin Pfeiffer wrote:
>
> Hi John,
Hello,
> In article <[EMAIL PROTECTED]>, John W. Krahn wrote:
> [...]
> > perldoc -q filehandle
> >
> > [snip]
>
> Hmmm... lots to digest here. One question. An example mentioned is:
>
>
>As of perl5.6, open() autovivifies file and direcĀ
>
Hi John,
In article <[EMAIL PROTECTED]>, John W. Krahn wrote:
[...]
> perldoc -q filehandle
>
> Found in /usr/lib/perl5/5.6.0/pod/perlfaq5.pod
>How do I flush/unbuffer an output filehandle? Why must I
>do this?
>
>How can I make a filehandle local to a subroutine? How d
Joshua Scott wrote:
>
> What do I need to do in order to use a filehandle that was opened earlier in
> a program within a subroutine?
perldoc -q filehandle
Found in /usr/lib/perl5/5.6.0/pod/perlfaq5.pod
How do I flush/unbuffer an output filehandle? Why must I
do this?
How
>
>
> What do I need to do in order to use a filehandle that was
> opened earlier in
> a program within a subroutine? I've included an example of
> the code I have
> that is not doing what I would like. Basically, I never get
> any output to
> the file. If I change it so that it doesn't use
Scott, Joshua wrote:
What do I need to do in order to use a filehandle that was opened earlier in
a program within a subroutine? I've included an example of the code I have
that is not doing what I would like. Basically, I never get any output to
the file. If I change it so that it doesn't use
Did open ever succeeded??
Check with:
open(FILE,">>$logfile") or die "$!";
-sharad
-Original Message-
From: Scott, Joshua [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 11:13 PM
To: [EMAIL PROTECTED]
Subject: File Handles in subroutines
What do I need to do in order t