How would I check if a certain file exists in a certain directory?
I'm already using File::Find to process a bunch of mp3's, and before I
move/copy them to a different folder, I want to check if the file already
exists.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
what is the best way to check for the existence of a directory?
(windows/Linux)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Winnipeg, MB, Canada
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm writing a cgi script that connects to an access DB in windows using
DBD::ODBC.
the program works great from the command line, but when I try to run it
from the browser, this is what I get
DBI->connect(mycddb) failed: [Microsoft][ODBC Driver Manager] Data source
name not found and no defau
How do I find where one string is in another?
if i have
$test = "one day I went to the zoo";
and I want to find how many characters into $test the word "went" is, how
do I go about that?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
elementary? oooh, that hurts =)
but you are right, I should have been using -w
Peter Scott <[EMAIL PROTECTED]>
10/24/2001 10:03 AM
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:Re: No such file or directory exists
At 09:01 AM 10/24/2001 -0500, [
Thanks Brian and Marcus.
$^O is exactly what I needed.
_brian_d_foy <[EMAIL PROTECTED]>
10/19/2001 08:44 AM
To: [EMAIL PROTECTED]
cc:
Subject:Re: accessing environment variables
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Greg F
How do I access Windows environment vars?
I want to be able to test whether I'm in Windows or Linux, and this seems
like a good way to do it.
If there is an easier/better way, I'm all ears.
Thanks
Greg
I'm using Win32::ODBC and trying to insert a record into an access
database.
This is the error I'm getting.
SQL failed. Error: [-3035] [1] [0] "[Microsoft][ODBC Microsoft Access
Driver] Operation must use an updateable query."
and this is the code I'm using
#Opening database
if (!($db = new
what module(s) would I need to connect to an access database?
and if I code an app that uses an access database, can that be easily
changed to MySQL or whatever just by changing the connect string?
TIA
Greg
Is it possible when writing to the console with print to continue using
the same line rather than have each message appear after the previous one?
Anyone is familiar with ncftp knows that the program shows the up/download
status updating on the same line. I'm curious if the same thing is
poss
are there multi-dimensional arrays in perl?
Hi,
I've been programming for a number of years, but I'm VERY new to Perl, and
it looks like a lot of fun. However, I'm very much in the learning stage,
so please be patient, I'm still learning all the keywords etc...
I'm curious how I can parse part of one variable into another
ex:
$part1 =
13 matches
Mail list logo