modify @INC

2006-04-13 Thread Adam Peterson
hello,   how do i change the location that perl is looking for modules at runtime? another application has installed its own instance of perl and my script is looking in the wrong location for the modules. i've confirmed that the version i have is included in the "Path". i see the module at: D:\P

logging IPs

2006-02-03 Thread Adam Peterson
hi, i have a cgi script that i would like to add some logging to. i would like to log the ip of those using it. is there an easy way to capture this? i know i can look at the server logs but i'd like to be able to log the script inputs and ip of the requestor. any help and example code is appreci

Re: Directory Test -d

2005-08-23 Thread Adam Peterson
of course! thanks! -adam --- Lyle Kopnicky <[EMAIL PROTECTED]> wrote: > Adam Peterson wrote: > > >hi, > > > >i'm attempting to open a parent directory that contains many sub > >directories and a few text and .pdf files. i want to test to see if the

Directory Test -d

2005-08-23 Thread Adam Peterson
hi, i'm attempting to open a parent directory that contains many sub directories and a few text and .pdf files. i want to test to see if the current file/dir is a directory before attempting to open it and test the filenames within it. i'm trying to use -d test but it doesn't seem to work and says

help with cursors

2003-09-02 Thread Adam Peterson
hello, i'm attempting to execute the following query against a MS SQL 2000 db. only the first instance of the results are being returned. i'm not sure if i'm using the correct method and hope that someone can point me in the right direction... this is my first time trying to use cursors with dbi.

problem comparing hashes

2002-12-26 Thread Adam Peterson
hi, i have a cgi script where i attempt to compare the values in 2 separate hashes( %query_data & %cgi_data). if there are differences in the vaules, i would like to build a 3rd hash (%update_data) containing the differences (the keys of the two hashes are the same). i'm having no luck... any advi