Re: process output pipe autoflush

2000-12-05 Thread $Bill Luebkert
"$Bill Luebkert" wrote: > > Mark Zvolanek wrote: > > > > Hi Carl, > > I am sorry I don't understand. > > > > I was talking about $| variable and not $!. > > > > I am trying to figure out why my perl code > > is buffering the (STDOUT) output of the executable > > even though I have set the variabl

Re: process output pipe autoflush

2000-12-05 Thread $Bill Luebkert
Mark Zvolanek wrote: > > Hi Carl, > I am sorry I don't understand. > > I was talking about $| variable and not $!. > > I am trying to figure out why my perl code > is buffering the (STDOUT) output of the executable > even though I have set the variable $| to 1. > Whereas when I execute the exec

RE: reading hash from file did not produce expected results

2000-12-05 Thread Rogers, John
Well I am a legend in my own mind. > -Original Message- > From: Jon Bjornstad [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, December 06, 2000 12:33 PM > To: Rogers, John; '[EMAIL PROTECTED]' > Subject: Re: reading hash from file did not produce expected results > > > is this Normal

RE: reading hash from file did not produce expected results

2000-12-05 Thread Rogers, John
Thankyou Tom and Jon, Learning new things can be a trial(for me at least) and sometimes you can look at things so much you go "brain dead" with it, and not see the obvious. Thanks again John > -Original Message- > From: Tom Heady [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, December 06, 2

Re: FW: Win32-SerialPort Problem

2000-12-05 Thread IMCEANOTES-Ian+20Stewart_Great+20Lakes_AirTouch+40AIRTOUCH+40AIRTOUCH+5FCONNECT
From: "Tuan Tran <[EMAIL PROTECTED]>" -Original Message- > From: Tuan Tran <[EMAIL PROTECTED]> > Sent: Friday, December 01, 2000 3:25 PM > To: '[EMAIL PROTECTED]' > Subject: Win32-SerialPort Problem > > -- Hi,

Re: reading hash from file did not produce expected results

2000-12-05 Thread Tom Heady
here's a walkthrough, starting at the second line of your text file >#-start >#!perl -w >$extnum='8114'; # at the moment. >open(ADDR, "addressbook.txt") or die "cant open $!\n"; >while() { the value of $_ = "8114,[EMAIL PROTECTED]\n" > chomp; the val

reading hash from file did not produce expected results

2000-12-05 Thread Rogers, John
Howdy all, I have simple comma delimited file that looks like this, ext no,email 8114,[EMAIL PROTECTED] 5678,[EMAIL PROTECTED] 7890,[EMAIL PROTECTED] now I want to read this file into a hash, so I wrote, (with the aid of much reading) #-start #!perl -w $extnum='8114';

FW: Win32-SerialPort Problem

2000-12-05 Thread Tuan Tran <[EMAIL PROTECTED]>
> -Original Message- > From: Tuan Tran <[EMAIL PROTECTED]> > Sent: Friday, December 01, 2000 3:25 PM > To: '[EMAIL PROTECTED]' > Subject: Win32-SerialPort Problem > > -- Hi, > I download Perl 5.6 supported Window NT to my computer. And I copy a > script program from ma

Re: how to check if a dir exists...

2000-12-05 Thread Carl Jolley
On Sun, 3 Dec 2000, Fabio Quintao wrote: > hi everybody > > can someone help me? i want to check if some directory exist in my > computer.. > i'm not sure if i should use seekdir or whatever and how to use. > i hope someone can help me how. >thanks in advance Why don't you just u

Re: New service in NT

2000-12-05 Thread Michael Fountain
I use a program called 'schedule assistant! for NT' You can use it to run scripts, batch files, .exe files, whatever, whenever you want. I don't want to pass it to everyone on this board (it is a 1.1MB file), but if you email me direct, I'll send it to you - it is a freeware program. I would

Convert MM/DD/YYYY to day of Week

2000-12-05 Thread bb
I have a date in the format of "mm/dd/" I would like to convert it to day of week (Sun,Mon,Tue,Wed,Thu,Fri,Sat). ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

RE: hash with an array as value

2000-12-05 Thread erskine, michael
A hash value is always a scalar and provides scalar context (hence the array size appearing in your hash values). What you want to do is store references to the arrays (references are stored in scalars and can therefore be used as hash values). See M-J. Dominus's excellent Perl Journal article, "U

Re: Dealing with a space in a directory name

2000-12-05 Thread Paul Popour
- Original Message - From: "Sweet Gordon" <[EMAIL PROTECTED]> To: "'perl-win32-userslistservActiveStatecom'" <[EMAIL PROTECTED]> Sent: Monday, December 04, 2000 5:32 PM Subject: Dealing with a space in a directory name > I'm using the globbing function to return a list of filenames from

Re: Help -- PostMessage() or SendMessage()

2000-12-05 Thread Aldo Calpini
A. C. Yardley wrote: > Hello, > > I need a bit of help here: I'm try to use the Win32::API > module to call WinAPI's PostMessage() or SendMessage() > functions. Please see below. > > [...] > > So, would a call to PostMessage() look like > > my $PostMessage = new Win32::API "user32", "PostMessage

RE: process output pipe autoflush

2000-12-05 Thread erskine, michael
> -Original Message- > From: Mark Zvolanek [mailto:[EMAIL PROTECTED]] > Sent: 05 December 2000 03:48 > To: '[EMAIL PROTECTED]' > Cc: Mark Zvolanek > Subject: process output pipe autoflush > I have a problem with autoflush. Platform is Windows NT 4 / sp6. Mark, (in fact everyone!) You sh