searching for files using perl

2003-04-01 Thread Shawn Sharp
Can someone help on this one? I created the following code to search for extention .PBD files in the htdocs/PBD folder while using the apache webserver. However it will only search in the cgi-bin folder for these files. What am I doing wrong? #!/perl/bin/perl use warnings; use strict; use CGI

Loading libraies into static Perl

2004-01-19 Thread Shawn Sharp
Hey, I am trying to create a stand alone (static) program in Perl (no shared libraries). I have tried perlcc -L /lib perl.pl but am not have any luck. This will create an executable but you still need the shared libraries. I have also typing in the path of each library (ie perlcc -L /lib/libp

Loading an array

2004-09-01 Thread Shawn Sharp
I need some help, I am running this code to load values into the $ArrayofCompareHex [$g] array. Currently it is not working. The $comparevalue gets the correct value but the value is not past into the array. Here is a portion of my code. Any ideas 230 my $g =0; 231 for ($g = 0; $g < $m

Apache vs Boa error LFLF

2004-09-09 Thread Shawn Sharp
I am working on some perl cgi code that works on an apache webserver but I get the following error when I run it on a boa webserver [08/Sep/2004:23:41:09 +] cgi_header: unable to find LFLF. I have tried the following change From: print "content-type: text/html\n\n"; changed t