net perl question

2006-09-07 Thread Juan Eduardo Solares
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

Re: IO::Select perl question

2006-04-06 Thread $Bill Luebkert
[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

RE: :Select perl question

2006-04-06 Thread John Serink
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");

IO::Select perl question

2006-04-05 Thread assistent
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

Re: netscape mail perl question

2005-04-04 Thread Chris Wagner
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

netscape mail perl question

2005-04-04 Thread assistent
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

RE: Intro To Perl Question

2003-03-09 Thread Stuart Arnold
-- 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

RE: PERL Question

2002-12-19 Thread Burak Gürsoy
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 you’re running IIS, which I think you are the

Re: Re: PERL Question

2002-12-18 Thread Mark Bergeron
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

Re: PERL Question

2002-12-18 Thread $Bill Luebkert
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?

Re: Basic Perl question

2002-04-25 Thread csaba . raduly
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

Basic Perl question

2002-04-24 Thread ponnam . balam
Dear All, I have seen one perl code with the follwing stuff sub func_name($$$) { $a = @_; } My question is , What is the purpose of

Re: Perl question

2001-01-09 Thread Will W
- 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 &

RE: Perl question -

2001-01-09 Thread Naftel, Bill S
[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

Re: Perl question

2001-01-09 Thread Carl Jolley
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

RE: Perl question

2001-01-09 Thread Ron Hartikka
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

RE: Perl question

2001-01-09 Thread Cornish, Merrill
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

Perl question

2001-01-09 Thread Dave Navarro
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

RE: Perl question ...

2000-10-18 Thread Robert Friberg
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

Re: Excel/perl question

2000-10-12 Thread John McNamara
>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

RE: Excel/perl question

2000-10-11 Thread Plunkett, Matt
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

Excel/perl question

2000-10-10 Thread Plunkett, Matt
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