Please forgive me if this is a rather stupid question, however I am new to Perl and Activestate perl on win32. My problem is as follows:No matter what program I run (be it mine or a downloaded app) I always seem to run into the exact same error (Useing IIS6)
"The specified CGI application misbehave
Printing gibberish may be a sign that one or more settings may be
incorrect, potentially the databit, parity, or stopbits. Have you tried
doing a similar setup in HyperTerminal?
David Ressler wrote:
Here's what prints gibberish:
use Win32::SerialPort;
$port=new Win32::SerialPort('COM2') || &s
Chris Wagner wrote:
> I would start by looking in Scriptomatic for a WMI call into the fonts
> system. And then use that with the standard OLE perl thingy to get the
> information. Of course if u just listed the fonts directory u would have to
> decode the font files urself to get their presenta
Has the handles leak on Win32 when using shared variables with threads
been fixed?
:)
John
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Jan Dubois
> Sent: Tuesday, March 14, 2006 7:42 AM
> To: activeperl@listserv.ActiveState.com;
> perl-win3
I'm happy to announce that we released ActivePerl 5.8.8.816 today.
The main highlights over 5.8.7.815 are:
* Based on Perl 5.8.8, plus bug fixes and module updates
* OS X version runs natively on both PowerPC and Intel Macs
* 64 Bit beta versions available for Windows, Linux and Solaris
As usual,
The archives are again up to date. Thank to everyone for the headsup.
JeffG
Eric Edwards wrote:
Just got your message.
Eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Chris Wagner
Sent: Sunday, March 12, 2006 9:40 PM
To: perl-win32-users@listserv.
Here's what prints gibberish:
use Win32::SerialPort;
$port=new Win32::SerialPort('COM2') || &syserr($^E);
$port->databits(8);
$port->baudrate(9600);
$port->parity("none");
$port->stopbits(1);
$port->write("Hello, world!\n");
- Original Message -
From: "Foo Ji-Haw" <[EMAIL PROTECTED]>
T
# Try backticks:
my $avl ="Available Bytes";
my $filename = "WMTP_db_2006_2_28.txt";
my $foo = `find $avl $filename`;
print "Found:\n$foo\n";
--Suresh
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http:/
I have never done this and just need help getting off the 'dime'.
I have a monitor program that I tried to fork from TK - doesn't work...
won't work.
So, I thought, can I start a Tk window from the monitor and collect the
input that way?
Forget Tk for now. How do I fork a process and have that
>> The regular expression in Perl works slower when the size of file is
bigger and we want >>to find the multilple patterns.
I disagree with your assessment. Testing this past weekend using 52
files 200MB to 1.9GB in size showed that FIND.EXE was substantially
slower than Perl RegEx. My tests show
Title: FW: How to transfer the output of find command of Dos in perl to file
If you are asking how to put
this into a file - just use the re-direct with DOS:
system(@args>file.txt);
Ken Barker
IT Lead
Tel: 314-213-7927
1100 Corporate Square
St. Louis, MO 63132
[EMAIL PROTECTED]
From
Title: FW: How to transfer the output of find command of Dos in perl to file
Hi Everyone,
The regular _expression_ in Perl works slower when the size of file is bigger and we want to find the multilple patterns.
So, what I found is using the find command in DOS we can get the output faste
I would start by looking in Scriptomatic for a WMI call into the fonts
system. And then use that with the standard OLE perl thingy to get the
information. Of course if u just listed the fonts directory u would have to
decode the font files urself to get their presentation names. And even
then, j
8<--
Can anyone suggest a way to make a list of the names of the fonts
installed on a Windows system? -- Thanks
8<--
use strict;
use warnings;
my @Fonts;
my $Dir = "$ENV{'windir'}\\Fonts";
chdir $Dir or die "Cant cd to $Dir:- $!";
foreach my $Font(<*>)
{
push @F
Can anyone suggest a way to make a list of the names of the fonts
installed on a Windows system? -- Thanks
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
David Ressler wrote:
Thanks for the start.
I managed to get Win32::SerialPort to wake up the printer but it's printing
gibberish. I'm setting it to the same baud rate, etc., as the (functioning)
"Generic / Text" printer that I set up using the Windows "Add Printer".
Do you have any code snippit
16 matches
Mail list logo