Thanks for the good tip John and Bill,
Will give sysread a go.
$Bill Luebkert wrote:
Foo Ji-Haw wrote:
Hi all,
Just want to share and ask something about reading from the sockets.
Normally my connection to the Other Side receives line inputs. But not
all the time the eol character is st
Foo Ji-Haw wrote:
> Hi all,
>
> Just want to share and ask something about reading from the sockets.
> Normally my connection to the Other Side receives line inputs. But not
> all the time the eol character is standard across the various remote
> connections; sometimes it's just a 0x0D.
>
> I
Use sysread. You might want to use the IO:Select module to check if the
call will block before calling...
gives you a bit more control.
Cheers,
john
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Foo Ji-Haw
> Sent: Tuesday, December 06, 2005 12
Hi all,
Just want to share and ask something about reading from the sockets.
Normally my connection to the Other Side receives line inputs. But not
all the time the eol character is standard across the various remote
connections; sometimes it's just a 0x0D.
I realise that <$socket> does not a
At 04:02 PM 12/5/2005 -0300, Alejandro Santillan wrote:
>Trying to migrate a perl script from linux to windows (IIS), I need to
>execute a command line from within the perl script.
>This snippet worked fine in linux (provided the path is correct), but it
>didn't work in windows:
That sounds very m
First:
use "\" not "/".
Second:
You have to escape the "\" with a second "\" when using double quotes.
Your line needs to read:
$sys="C:\\antiword\\antiword.exe -t -w 1 document.doc >
C:\\Inetpub\\wwwroot\\somedir\\document.txt";
That shou'd work.
Alternatively, you could do it this way:
$sy
sorry,,, I changed my mail to text only. I don't know why the html is
showing up on the board
- Original Message
From: "Randy Kobes" <[EMAIL PROTECTED]>
To: "George" <[EMAIL PROTECTED]>
Cc: perl-win32-users@listserv.ActiveState.com
Subject: Re: NMAKE problem
Date: 03/12/05 15:41
It depends on the threading model of the COM object.. Perl OLE is not
multithreading capable yet (and probably won't be any time soon (But,
leave it to Jan to prove me wrong). But yes, in general, Perl can call
COM components (like Outlook, Excel, Word, ChartDirector and others)
with Win32::OLE.
On Mon, 5 Dec 2005 15:32:33 -0500, John Shea <[EMAIL PROTECTED]> wrote:
[all snipped]
What follows will be meaningless to anybody outside the UK. Apologies
to all those who regard the posting of irrelevant comments on this
list as a heinous crime.
I have always bridled at the accusation that I a
> -Original Message-
> I used to work in retail and one day I was visited by an entire
> family in camo. I stood there for awhile looking past them and finally
> one of them spoke. I jumped, looked him in the eye, and exclaimed,
> "Wow. I didn't see you guys!"
>
> He didn't get it.
I was in the Army when it went to the BDU (battle dress uniform). It was the source of numerous similar jokes in my unit.
John T Shea
DeveloperOn 12/5/05, Charles K. Clarkson <[EMAIL PROTECTED]> wrote:
Jerry Kassebaum <> wrote:: I was in the mall with my Perl book, wearing my son's Marine pants: f
Trying to migrate a perl script from linux to windows (IIS), I need to
execute a command line from within the perl script.
This snippet worked fine in linux (provided the path is correct), but it
didn't work in windows:
$sys="C:/antiword/antiword.exe -t -w 1 document.doc >
C:/Inetpub/wwwroot/s
Jerry Kassebaum <> wrote:
: I was in the mall with my Perl book, wearing my son's Marine pants
: from basic training. (I like to have something to read while my wife
: shops.)
:
: A young man comes up to me and says, "Where did you get the new
: camoh?" (I didn't get that last word.)
:
: I showe
Does anyone have any experience with the OEAPI product from NEKTRA? Here are
the "General Features" from their web site:
. All the functionality is implemented in a COM object.
. A demo application written in Visual Basic is included in the package.
. A demo application written in Visual C++
I was in the mall with my Perl book, wearing my son's Marine pants from
basic training. (I like to have something to read while my wife shops.)
A young man comes up to me and says, "Where did you get the new camoh?" (I
didn't get that last word.)
I showed him the book, about to explain that t
Alejandro Santillan wrote:
> The directory
> is create while the scrip runs under linux, but under windows
> it is not able to do it. It seems a permission problem, but
> the directory has all the permissions enabled and none
> disabled. The mkdir part of the script doesn't work, as it
> seems
Joe Discenza wrote:
DZ-Jay wrote, on Mon 05-Dec-05 07:58
: I have a problem using the split() function: When there are trailing
: delimiters, without any content between them, split() skips them. For
From "perldoc -f split":
If LIMIT is specified and positive, splits int
Oh, you know, I just saw that. Hum, I wonder how I missed it. Anyway,
then I guess using this would do...
split /,/, $foo, -1;
dZ.
Andreas.Kamentz wrote:
Hi dZ,
According to documentation, the prototype of split has a third parameter:
split /PATTERN/, EXPR, LIMIT
If LIMIT
See
use File::Path; mkpath(['/foo/bar/baz', 'blurfl/quux'], 1, 0711); rmtree(['foo/bar/baz', 'blurfl/quux'], 1, 1);
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.Acti
At 09:33 AM 12/5/2005 -0300, Alejandro Santillan wrote:
>The directory is create while the scrip runs under linux, but under windows
>it is not able to do it.
What webserver are u using? IIS has known finicky permission problems.
>#now trying to create the session 11232 that fails
>$sys = "mkdi
Alejandro Santillan <[EMAIL PROTECTED]> wrote: I am programing a cgi that performs a series of tasks while interacting withthe client and that should keep a session alive for a week.In order to do that I decided to create a session directory each time aclient sings up.The directory is create while
DZ-Jay wrote:
Hello:
I have a problem using the split() function: When there are
trailing delimiters, without any content between them, split() skips
them. For example, this:
my @foo = split(/,/, 'this,is,a,test,,');
yields:
this
is
a
test
while I'm expecting:
Hi dZ,
According to documentation, the prototype of split has a third parameter:
split /PATTERN/, EXPR, LIMIT
If LIMIT is omitted in the function call, then "trailing null fields are
stripped from the result", as the Camel book states. I also stumbled on it a
few times...
-- Andreas
-U
Title: split() skipping trailing delimiters
DZ-Jay wrote, on Mon
05-Dec-05 07:58
: I have a
problem using the split() function: When there are trailing:
delimiters, without any content between them, split() skips them.
For
From "perldoc -f
split":
If
LIMIT is spe
At 07:58 AM 12/5/2005 -0500, DZ-Jay wrote:
>Hello:
> I have a problem using the split() function: When there are trailing
>delimiters, without any content between them, split() skips them. For
>example, this:
>
> my @foo = split(/,/, 'this,is,a,test,,');
my @foo = split(/,/, 'this,
I am programing a cgi that performs a series of tasks while interacting with
the client and that should keep a session alive for a week.
In order to do that I decided to create a session directory each time a
client sings up.
The directory is create while the scrip runs under linux, but under windo
Hello:
I have a problem using the split() function: When there are trailing
delimiters, without any content between them, split() skips them. For
example, this:
my @foo = split(/,/, 'this,is,a,test,,');
yields:
this
is
a
test
while I'm expecting:
David Ressler [DR], on Sunday, December 4, 2005 at 22:56 (-0800) has
on mind:
what about image magick, or GD library ?
--
How do you protect mail on web? I use http://www.2pu.net
[Go, Go! Escargot! (Hey, the turtle's catching you!)]
___
Perl-Win
#!C:\perl\bin\perl
open(TXT, ";
close(TXT);
print "Content-type:text/html\n\n ";
print "Text file contents:";
foreach $line(@text)
{
print "$line ";
}
print "";
# This will loop through all the line in the file,
# substitute commas with pipes on each line,
# and print the line to STDOUT.
ope
Hello Reinhard,
With your link I was able to download the module. Thanks!
There is a small problem that is stopping me from having fun with the
module. In trying to install the module, I get this error:
D:\>ppm install Device-SerialPort.ppd
Install 'Device-SerialPort' vers
30 matches
Mail list logo