| dazjorz | "Comparing /var/www/com/dazjorz/web/www/index.php to /var/www/com/dazjorz/web..." warn("Comparing $script to $path...\n"); if($script =~ /^$path/) { |
| EricL | Alright. I have my answer, back to work. Thanks guys. As always, much appreciated. |
| dazjorz | oh - damn. it was something else. |
| LeoNerd | Randal: Thing is, even // doesn't solve the exists-but-undefined problem my %h = ( key => undef ) |
| nanonyme | eh |
| dazjorz | it works just perfect now! :) http://dazjorz.com/ Running as user fdazjorz Now just change the group. :) LeoNerd: Thanks again for your fantastic modules and script! :) |
| LeoNerd | dazjorz: BTW; 0.10 is now on CPAN, containing that bugfix and the example scripts and also a fix for people who can't be bothered to install Module::Build on CPAN Testers boxes *grumble grumble* |
| action | CPAN upload: Test-Harness-2.65_01 (+++++) by PETDANCE |
| CPAN | upload: Test-Harness-2.65_01 (+++++) by PETDANCE |
| action | CPAN upload: Makefile-Parser-0.16 by AGENT |
| CPAN | upload: Makefile-Parser-0.16 by AGENT |
| solemnwarning | Is the default working dir of a CGI perl script set to the dir the script is in? |
| Randal | sometimes can't count on it |
| solemnwarning | Is it normally? |
| Randal | depends entirely on the server, etc |
| solemnwarning | ok |
| Randal | and whether it's apache 1 or 2, I think just chdir to the dirname of your script BEGIN { use File::Basename qw(dirname); chdir dirname(__FILE__) or die } put that in there, and you're gold solemnwarning? |
| action | Randal taps the mike |
| Randal | taps the mike is this mike on? people just disappear after they ask questions |
| Teratogen | open mike |
| Randal | or do they go into some holding room? :) got about 40 people coming to my party this weekend BlhAckeR - let me guess your age. about 17, right? |
| Teratogen | nice |
| BlhAckeR | hummm I am not sure when I was 17 old, I had the "M3g41337" nick :D |
| ghenry | slow day today. if I have an array that will have up to 7 items |