HI, I'm new in Perl word, right now am try to telnet a group of host, in the first instants is all right(login,password,command.logs etc), but the i have to introduce a "mml" command, in that case the promt change, and the script doesn't work any more , I'm try to get "last prompt" but may be somet
[EMAIL PROTECTED] wrote:
> Hi All!
> I am trying to use pipes in win32
...
> This works ok.
> But with uncommented cycle
> prog catch_in.pl hangs !
> My question is - why can_read
> always return empty array
> in spite of fact that there are data ready for read ???
> P.S. I tried can_read() als
ril 06, 2006 2:10 PM
> To: perl-win32-users@listserv.ActiveState.com
> Subject: IO::Select perl question
>
>
> Hi All!
> I am trying to use pipes in win32
> in my main program (in C) I have:
>
> FILE *fd = _popen("perl d:/umts/catch_in.pl" , "wb");
Hi All!
I am trying to use pipes in win32
in my main program (in C) I have:
FILE *fd = _popen("perl d:/umts/catch_in.pl" , "wb");
int i=12;
fwrite((void*)&i,1,4,fd);
ie=fflush(fd);
_pclose(fd);
my perl code (in catch_in.pl) is :
-
use strict;
use warnin
Netscape just keeps everything in a flat text file. U can parse it directly
of there might be a package out there to deal with standard mailbox format.
--
REMEMBER THE WORLD TRADE CENTER ---=< WTC 911 >=--
"...ne cede males"
0100
___
P
Hi All!
after my outlook express died unexpectedly
I use Netscape Mail
MY question is:
I used Mail::Transport::Dbx to get outlook express
mail messages/writing mess's to database/
Which perl module i am to use to get
mail messages from Netscape ?
___
Pe
--
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Electron One
Sent: Sunday, March 09, 2003 5:17 PM
To: Will Ganz; Electron One; [EMAIL PROTECTED]
Subject: RE: Intro To Perl Question
Ok maybe there still is a problem. Yes that is the desired behavior. I
am
running W2K pro also, and
ginal Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark
Bergeron
Sent: 19 Aralik 2002 Persembe 02:44
To: $Bill Luebkert; David Stoltz
Cc: [EMAIL PROTECTED]
Subject: Re: Re: PERL Question
Bill is right of course. However, if youre running IIS, which I think you
are the
L PROTECTED]>
Cc: [EMAIL PROTECTED]
Date: Wed Dec 18 14:21:40 PST 2002
Subject: Re: PERL Question
>David Stoltz wrote:
>> I'm a PERL newbie, and have a pretty simply question.
>>
>> I am running a Windows 2000 server, with Active States latest version of
>> &qu
David Stoltz wrote:
I'm a PERL newbie, and have a pretty simply question.
I am running a Windows 2000 server, with Active States latest version of
"ActivePerl" running on it...
I have a line in a script I need to modify:
!/usr/bin/perl -w
~needs to point to d:\perl
What's the right syntax?
On 22/04/2002 06:49:52 perl-win32-users-admin wrote:
>Dear All,
>I have seen one perl code with the following stuff
>
>sub func_name($$$)
>{
>$a = @_;
>}
>
>My question is ,
>
>What is the purpose of $$$ in the function definition.
>
It tells Perl that func_name expects three scalars.
Check
Dear All,
I have seen one perl code with the follwing stuff
sub func_name($$$)
{
$a = @_;
}
My question is ,
What is the purpose of
- Original Message -
From: Cornish, Merrill <[EMAIL PROTECTED]>
To: Dave Navarro <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, January 09, 2001 9:17 AM
Subject: RE: Perl question
> die() throws an exception. If there is nothing there to catch
that
&
[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 12:17 PM
To: "Dave Navarro" ; "[EMAIL PROTECTED]"
Subject: RE: Perl question
die() throws an exception. If there is nothing there to catch that
exception, then the program ends. If there is an exception handler,
then
On Tue, 9 Jan 2001, Dave Navarro wrote:
> Does "die" just end a function or does it end the entire script?
>
To "end" a function use the return command. The die function will
write a message to STDERR and exit the entire script.
[EMAIL PROTECTED]
All opinions are my own and not neces
rn "even";
}
It prints:
1 is odd.
2 is even.
3 is odd.
4 is even.
5 is odd.
6 is even.
7 is odd.
8 is even.
9 is odd.
10 is even.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
Cornish, Merrill
Sent: Tuesday, January 09, 2001 12:18 PM
To: Da
die() throws an exception. If there is nothing there to catch that
exception, then the program ends. If there is an exception handler, then
the die() can be stopped there, such as at the function call. You use eval()
to step up exception handlers.
If, however, you are merely looking for an escap
Does "die" just end a function or does it end the entire script?
--Dave
___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
Hi,
You have a problem with buffering. Use open
with a pipe and set $| to turn off buffering
om both filehandles.
open HND, "$ToolsDir/bin/tk_mirror $firm $flags|" or die $!;
my $oldfh = select HND; $|++;
select LOG; $|++;
select $oldfh;
print LOG $_ while();
hth,
Robert Fribe
>This code works. However it is pitifully slow. I do not know VBA, but was
>trying to make a script that would take a huge text file (>100,000 lines)
>and put it into an Excel workbook. Because a workbook can only take about
>65000 rows, the idea was to make a worksheet in the workbook for eac
More accurately, how long does it take to read the file twice.
[EMAIL PROTECTED]
All opinions are my own and not necessarily those of my
employer
The first read takes no time...well, a very short time. I have
another version of t
Howdy-
This code works. However it is pitifully slow. I do not know VBA, but was
trying to make a script that would take a huge text file (>100,000 lines)
and put it into an Excel workbook. Because a workbook can only take about
65000 rows, the idea was to make a worksheet in the workbook for
22 matches
Mail list logo