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
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
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.
I have a file called filehandle.
It contains: invoice1
invoice2
invoice3
...
InD:\trandev\I also have these files :invoice1
invoice2
invoice3
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.
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
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
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
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
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
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
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
12 matches
Mail list logo