Re: Questions on porting Perl from Unix to Windows

2008-01-28 Thread Paul 'Bo' Peaslee
Hey Andy: Use the Perl standard OS constant, $^O, when you want to know what OS you're on. Here are some values that are returned: Windows = mswin32, AIX = aix, Linux = linux. Your version of UNIX will return a different value. By the way you'll want to use '\\' when creating Windows directory

Re: 5.6 -5.8 -- no upgrade???

2002-12-16 Thread Paul \Bo\ Peaslee
of these days. Bo Paul Bo Peaslee, BSCE, DBA Maine Medical Center 39 Forest Avenue Portland, Maine 04102 207.871.6523 - Original Message - From: Douglas Elias [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 16, 2002 12:19 PM Subject: 5.6 -5.8 -- no upgrade??? G'day ... I tried

Re: DESPERATE

2002-09-12 Thread Paul \Bo\ Peaslee
Errr, I don't think you can move a file by renaming, not on a Windoze box anyway, and your use of a path like D:\ftproot implies Windoze to me. Maybe I'm wrong, but these are my thoughts - untested. 'rename' will move files on NT and 2000. Don't know about the rest of the Windows family.

Re: Problem Reading an array !!!

2002-09-11 Thread Paul \Bo\ Peaslee
I have a file called filehandle. It contains: invoice1 invoice2 invoice3 ... InD:\trandev\I also have these files :invoice1 invoice2 invoice3

Dozens Are Dead as Floods Sweep Through Europe.htm

2002-08-13 Thread Paul \Bo\ Peaslee
Title: Dozens Are Dead as Floods Sweep Through Europe The floods Jenda told us about earlier are described below. Good luck, Jenda. Our thoughts are with you and your beautiful city. Bo August 13, 2002 Dozens Are Dead as Floods Sweep Through EuropeBy PETER S.

Re: list of executable files

2002-07-18 Thread Paul \Bo\ Peaslee
I am trying to find a way to list of all files that are executable on my PC. IE list any file (in any directory) that can do something to my PC (so .exe, .pl, .dll etc etc). The PATHEXT system environment variable found in the Environment tab of the System applet of the Control Panel

Re: ole? notepad?

2002-05-28 Thread Paul \Bo\ Peaslee
how can i launch notepad and print something in it? You can print with Notepad from a shell command line using the following: prompt notepad /p filename.txt There's several ways (as one would expect from Perl) to launch that command line. Try: perl -e `notepad /p filename.txt` to

Re: Discounted Technical Books

2002-05-02 Thread Paul \Bo\ Peaslee
www.bookpool.com is a great source for technical books. Usually sell for 25%-50% off. And, they get them to you very promptly. Bo - Original Message - From: Andrew Wax To: [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 3:37 PM Subject: Discounted Technical

One-liners

2002-03-26 Thread Paul \Bo\ Peaslee
While reading the recent article, Perl One-liners, from The Perl Review; I decided to follow along. Didn't take too long before I realized I couldn't do them on Windows (NT) as written. The command line doesn't like Perl script enclosed in single quotes. For example: perl -e 'print Hello

Re: PPM

2002-01-03 Thread Paul \Bo\ Peaslee
The HTML version of the Config::IniFiles docs was downloaded and placed in the appropriate directory. Bo You can obtain documentation in HTML format a separate download from Activestate. It's here: http://downloads.activestate.com/ActivePerl/src/5.6/AP630_html.zip MaT Installed

Re: An open complaint (was RE: An Index of Incivility in the Perl Community )

2001-06-12 Thread Paul \Bo\ Peaslee
Right on, Dave! -- Paul Bo Peaslee Ne illegitimi carbunculi tibi in facie sint - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 11, 2001 8:19 PM Subject: An open complaint (was RE

Re: Oracle

2001-03-23 Thread Paul \Bo\ Peaslee
in on how to create the entry in the TNSNAMES file. Installing the Oracle client is pretty straight forward. A copy of "Programming the Perl DBI" will probably help, too. Have fun! Bo ------ Paul "Bo" Peaslee "Ne i