checking if a file exists

2001-11-22 Thread Greg . Froese
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,

directories

2001-11-21 Thread Greg . Froese
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]

RE: Off-Topic (200%) - Where are you from?

2001-11-09 Thread Greg . Froese
Winnipeg, MB, Canada -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Faking form variables

2001-10-26 Thread Greg . Froese
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]

Faking form variables

2001-10-25 Thread Greg . Froese
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);

Re: No such file or directory exists

2001-10-24 Thread Greg . Froese
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

No such file or directory exists

2001-10-24 Thread Greg . Froese
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

Re: No such file or directory exists

2001-10-24 Thread Greg . Froese
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,

accessing environment variables

2001-10-19 Thread Greg . Froese
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

Re: accessing environment variables

2001-10-19 Thread Greg . Froese
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

Using Win32::ODBC

2001-10-09 Thread Greg . Froese
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

RE: Using Win32::ODBC

2001-10-09 Thread Greg . Froese
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

Inserting records into database

2001-10-05 Thread Greg . Froese
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

Connecting to an Access/MySQL database

2001-10-03 Thread Greg . Froese
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

Reusing same output line

2001-09-26 Thread Greg . Froese
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

arrays

2001-09-25 Thread Greg . Froese
are there multi-dimensional arrays in perl?