How can I see what file handles are pointed at a given file. I am having a
problem where I open, read, and close a certain file. Then another part of
the script tries to open that same file, but can't. I suspect something is
holding it open. Another file handle perhaps, but I have not been able to
Hi,
I have been trying to run a piece of perl code in NT that I usually run in
UNIX. I am showing the part of code where I am facing the problem.
open (CPP, "$cmd |");
while () {
chomp();
# Remov
Hi list,
Thanks for suggesting PerlCritic to me - I just love it :-)
Following the instructions, I am now trying to change my filehandles
from a bareword style to something more ... uhm, correct ;-)
I tried
my $vconfig = IO::File->new("$vconfig") or LOGDIE("$fnc - $vconfig
konnte nicht geles
I don't see what I am doing wrong here. I am trying to print to the
filehandle LINOUT but nothing is being printed to the file.
Ultimately I want to monitor the input file and when it is written to I
want to take the update and put into another file for processing.
#!/usr/bin/perl
use strict;
use
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 17, 2003 5:04 PM
> To: [EMAIL PROTECTED]
> Subject: filehandle problem
>
>
> How can I see what file handles are pointed at a given file.
> I am having a problem wh
On Mon, 17 Mar 2003 [EMAIL PROTECTED] wrote:
> How can I see what file handles are pointed at a given file. I am having a
> problem where I open, read, and close a certain file. Then another part of
> the script tries to open that same file, but can't. I suspect something is
> holding it open. Ano
Hi,
I think if you posted some of your code members will be able to help you.
Without any code it will not be to easy.
regards. aim.
[EMAIL PROTECTED] wrote:
> How can I see what file handles are pointed at a given file. I am having a
;s in $! ?
in short, we'll need a bit more information to help you out, but try the
above things first...
hth,
jos
- Original Message -
From: "K.Srinivas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 08, 2002 9:50 AM
Subject: Filehandle
Hi,
On Thursday 29 Apr 2010, HACKER Nora wrote:
> but I just receive errors:
>
> Use of uninitialized value in scalar chomp at
> /opt/data/magna/wartung/dbmove.pl line 231.
> Use of uninitialized value in pattern match (m//) at
> /opt/data/magna/wartung/dbmove.pl line 232.
>
> Could somebod
> Most probably you have used an undefined scalar in an expression. Would
> be good if you can mention the lines along with the line no.
OMG, if only you could see me banging my head against the wall ... I am opening
three filehandles shortly after each other - I already corrected the code for
t
Johnson, Reginald (GTI) wrote:
I don't see what I am doing wrong here. I am trying to print to the
filehandle LINOUT but nothing is being printed to the file.
Ultimately I want to monitor the input file and when it is written to I
want to take the update and put into another file for processing.
On 08/01/2007 02:51 PM, Johnson, Reginald (GTI) wrote:
I don't see what I am doing wrong here. I am trying to print to the
filehandle LINOUT but nothing is being printed to the file.
Ultimately I want to monitor the input file and when it is written to I
want to take the update and put into anoth
On Wed, 2007-08-01 at 15:51 -0400, Johnson, Reginald (GTI) wrote:
> I don't see what I am doing wrong here. I am trying to print to the
> filehandle LINOUT but nothing is being printed to the file.
> Ultimately I want to monitor the input file and when it is written to I
> want to take the update a
On Thursday 29 Apr 2010, HACKER Nora wrote:
> OMG, if only you could see me banging my head against the wall ... I am
> opening three filehandles shortly after each other - I already corrected the
> code for the first one (which is the source I posted in my previous mail) but
> not for the next
14 matches
Mail list logo