Problems in creating executable

2008-01-16 Thread Shilpi Harpavat
Hi , I have a simple perl program on windows as below which i am trying to creat ean executable for. But it fails with the errors below #!c:\perl\bin\perl.exe # simple hello world cgi script print "Content-type: text/html\n\n"; print "\n"; $date = localtime(); print "Hello, world! on $date\n";

Calling perl module located in some other folder.

2008-01-04 Thread Shilpi Harpavat
hi, I created a module in a file called utilities .pm in some folder say C:\wamp\ww\perl\utilities\ which has a function say "Func1" Now I want to use this module in a test.pl file If I use use utilities; or use "C:\wamp\www\perl\utilities"; it doesnt work How can i access the module functions

Creating your own module

2008-01-03 Thread Shilpi Harpavat
Hi, I am trying to use h2xs to create a module called Utilities.pm to put some common function sthat my perl scripts call under one module. I ran the folliwng command to generate the module skeleton and it failed with the following errors. I am totally new to perl and any help would be highl