Re: Trouble with defined()

2005-09-07 Thread $Bill Luebkert
Ken Barker wrote: > When I use the defined function in testing for a valid open file handle - it > appears that it eats the first line of the file. Here is a test line: > > while(defined() and $line2 = and $found == 0){ reads a line from FILE2 - the <> is not part of the FH it's the 'next lin

Re: Trouble with defined()

2005-09-07 Thread Petr Vileta
Use open FILE2, "(My server reject all messages from Yahoo and Hotmail. Send me your mail from another non-spammer site please.) - Original Message - From: "Ken Barker" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 07, 2005 10:50 PM Subject: Trouble with defined() When I use

Trouble with defined()

2005-09-07 Thread Ken Barker
When I use the defined function in testing for a valid open file handle - it appears that it eats the first line of the file. Here is a test line: while(defined() and $line2 = and $found == 0){ I have put print statements after this line and can see that it misses the first line from this fil

Help

2005-09-07 Thread Alok_Kumar05
Hi,   This is sample script that I am trying to execute on Suse8. It creates a telnet session with the machine by providing valid credentials, but the command that I trying to execute at the end the script are not executed   But the same script works fine on other versions on Linux like

Re: HTML::TokeParser and tags split between lines

2005-09-07 Thread Gisle Aas
"Brian Raven" <[EMAIL PROTECTED]> writes: > > If what you want is to feed the parser the document in chunks > > until you have extracted enough text, then I suggest you use > > the HTML::Parser class directly. The HTML::TokeParser > > assumes you are able to give it the whole document when it

RE: HTML::TokeParser and tags split between lines

2005-09-07 Thread Brian Raven
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gisle Aas > Sent: 06 September 2005 17:30 > To: Craig Cardimon > Cc: ActivePerl > Subject: Re: HTML::TokeParser and tags split between lines > > Craig Cardimon <[EMAIL PROTECTED]> writes: > > >