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,
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]
Curtis,
What is the syntax for passing these values through the url?
Greg
Curtis Poe [EMAIL PROTECTED]
10/25/2001 01:44 PM
Please respond to poec
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:Re: Faking form variables
--- [EMAIL PROTECTED]
I'm using the following snippet of code to put all form data passed into a
hash table.
$form_data_size = $ENV{'CONTENT_LENGTH'};
read (STDIN, $form_data, $form_data_size);
@info_returned = split (//,$form_data);
foreach $keyvalue (@info_returned)
{
($key, $value) = split(/=/, $keyvalue);
That was not the problem. The problem was the ^M at the end of each line
walter valenti [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
10/24/2001 09:11 AM
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject:Re: No such file or
I'm working with my perl scripts in Linux and Windows. my scripts were
running fine when I ran them as perl myscript.pl
but when I tried to execute the perl script using only its name
(./myscript.pl) then I would get the message No such file exists
I searched and searched until I found that
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,
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
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 Froese) wrote
I'm successfully connecting to a Pervasive 7 database with my PERL program
when running from the command line.
I try to run the program in my webbrowser and I get the following error.
Error connecting to MO Error: [802] [] [Pervasive Software][ODBC
Interface][Pervasive Software SQL
Yes, I am using IIS as my webserver.
-Original Message-
What is your web-server? IIS??
- Rex
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Subject: Using Win32::ODBC
I'm successfully connecting to a Pervasive 7 database with my PERL program
when
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
are there multi-dimensional arrays in perl?
16 matches
Mail list logo