Error while using Storable.pm for persistent Data Structures from Perl(CGI script)

2007-04-23 Thread Deepak Mallya
Hi , I am getting the following error when I use Storable.pm in a CGI script.Do I need a different version?Also is there any other package for using Persistent Data Structures in CGI scripts..I am able to work with Storable.pm successfully from 2 Perl programs..but when I use a CGI(perl

Re: Error while using Storable.pm for persistent Data Structures from Perl(CGI script)

2007-04-23 Thread Deepak Mallya
Clinton, I tried it ..It gives me this at the line I added warn. Warning: something's wrong at newprocessquery.pl line 24. Undefined subroutine main::retrieve called at newprocessquery.pl line 25. I tried printing @INC after adding the use lib..It gives me the path at the front of @INC ..i dont

Using Persistent Data Structures between a webprogram(CGI) and Perl program

2007-04-22 Thread Deepak Mallya
Hi, Is there a way in which CGI programs could use the Data structures created by another perl program.I tried using Storable and it works well between two perl programs which are run on the terminal..but I want to use the Persistent data structure in my CGI program(using http)..when I do

Re: Converting a String of bits into a binary number in perl?

2007-03-06 Thread Deepak Mallya
the final value should be a binary value(datatype) not a string of binary digits. eg:- if we do $a=0b.100 this becomes a string and when we take the length($a) it gives us the size in bytes of a integer (here it would be 4 bytes) but if we do $a=0b100 its a binary

installing perl modules(.pm)

2007-03-04 Thread Deepak Mallya
Hi, I am trying to install the Devel::Size perl module in Unix.I have installed it but when I try to include it in my program using use lib '/pathname' I get the error as follows:- Can't locate Devel/Size.pm in @INC (@INC contains: /home/002/d/dp/dpm052000/lib

About PHP configuration

2006-12-16 Thread Deepak Mallya
Hi, I am new to PHP..am tryin to configure PHP and am havin few problems.Ihave setup the http.conf and php.ini with the coresponding entries and when I call http://localhost/ it works.But I get page not found when I try to run http://localhost/phpinfo.php with these line in it ?phpinfo()?.

Doubt in References and complex datastructures

2006-12-11 Thread Deepak Mallya
Hi, When I try to use complex data structures I get an error saying Use of uninitialized value in string at C:\Documents and Settings\deepm\My Documents\practice.pl line 29, FILE line 1. The line of code is as follows:- for ($i=0;$i=$#terms;$i++) {

Re: Doubt in References and complex datastructures

2006-12-11 Thread Deepak Mallya
] wrote: Deepak Mallya wrote: Michael, with no variable but just constants inside(I still get the same error) I am actually trying to build a complex data structure on the fly with dynamic values..what do I need to do?. What line is the warning coming from? The line where you're

Installation of mod_perl and apache on windows

2006-08-21 Thread Deepak Mallya
Hi everyone, Can anyone tell me how to install mod_perl and Apache on windows.I am having problems when I run the makefile.pl file.It asks me the path and when I enter it I get error.I tried entering it in every possible way considering that '\' is escape for perl butI am stillnot able to figure

Getting internal server error when I run a simple CGI script

2006-08-21 Thread Deepak Mallya
Hi, I am trying to run a simple Perl CGI script and I get the following error..Can anyone help me on this Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and