Re: send output to a parallel port?

2005-07-20 Thread Sisyphus
- Original Message - From: robert [EMAIL PROTECTED] To: perl-win32-users@listserv.ActiveState.com Sent: Wednesday, July 20, 2005 1:27 PM Subject: send output to a parallel port? Hey all we have some devices at work that are controlled by sending signals via the computer's parallel

RE: send output to a parallel port?

2005-07-20 Thread Ken Cornetet
Writing to an IO port from a user program isn't allowed under NT/2k/XP. To do this you need some sort of driver. Check out http://www.winfordeng.com/products/portio32/#samples -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sisyphus Sent: Wednesday,

RE: send output to a parallel port?

2005-07-20 Thread robert
-Original Message- From: Sisyphus Afaik a function declared as void would not return. it won't return a value, but it still has to go back to the caller. Anyway, if it's that simple to do in C then it's also very simple to achieve in perl, using Inline::C. thats

help with getting file stats

2005-07-20 Thread lorid
I am trying to get the file stats I found this code in ch8 of perl cookbook ( $dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks ) = stat($filename) and read the man page for stat and perlfunc but cant seem to get a simple program to get

RE: send output to a parallel port?

2005-07-20 Thread Thad Schultz
- Original Message - From: robert [EMAIL PROTECTED] To: perl-win32-users@listserv.ActiveState.com Sent: Wednesday, July 20, 2005 1:27 PM Subject: send output to a parallel port? Hey all we have some devices at work that are controlled by sending signals via the computer's parallel

RE: help with getting file stats

2005-07-20 Thread Wagner, David --- Senior Programmer Analyst --- WGO
[EMAIL PROTECTED] wrote: I am trying to get the file stats I found this code in ch8 of perl cookbook ( $dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks ) = stat($filename) and read the man page for stat and perlfunc but cant

RE: help with getting file stats

2005-07-20 Thread Darrell Gammill
Have you tried stat ($dir/$file)? If you just stat ($file), $file would have to be the full path or a file in the current directory. Do you have a sample output you could share? -Dgg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lorid Sent:

RE: send output to a parallel port?

2005-07-20 Thread robert
-Original Message- From: Ken Cornetet Writing to an IO port from a user program isn't allowed under NT/2k/XP. To do this you need some sort of driver. Check out http://www.winfordeng.com/products/portio32/#samples well somehow the single line of C code

RE: CGI Error message

2005-07-20 Thread Goh Chin Tiong
Kindly advise on how we can disable the following error from appearing on the browser when a non-existent cgi script is being called. Thanks CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: Can't open perl script

RE: CGI Error message

2005-07-20 Thread Chris Wagner
If you're using Apache u can set an error handler to display an html document when that particular code is encountered. Don't know about IIS or others, lah. At 12:24 PM 7/21/05 +0800, Goh Chin Tiong wrote: Kindly advise on how we can disable the following error from appearing on the browser