Hello,
I installed a webserver "Apache" on my Workstation, the OS is Windows NT4.0
and have a Perl version
5.0.3
My problem is, that I can not execute CGI - SCRIPTS.
I get the error message:
Forbidden
You don't have permission to access /cgi-bin/1st-cgi.pl on this server.
Apache/1.3.12 Server
On Thu, 10 May 2001, lemoninsz wrote:
> hi,i have the same problem,when i do ./emailupload.cgi,error like this:
> "bash: ./emailupload.cgi: No such file or directory"
>
> the other cgi scripts work well,but emailupload.cgi.the following is the
>emailupload.cgi:
> #!/usr/bin/perl
On Wed, 9 May 2001, Stephen E. Hargrove wrote:
> doesn't this just make the adjustment at compile time? what i'm really
> needing is something that will modify @INC for all time. can that be
> done?
perldoc -q INC
...bunch of stuff...
How do I add a directory to my include path at runtime?
On May 9, Stephen E. Hargrove said:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>On Thu, 10 May 2001, King, Jason wrote:
>
>> Stephen E. Hargrove writes ..
>>
>> >how do i add new directories to @INC? i've managed to bungle one of my
>> >debian systems, and apt-get relies pretty heavily on
Stephen E. Hargrove writes ..
>On Thu, 10 May 2001, King, Jason wrote:
>
>> Stephen E. Hargrove writes ..
>>
>> >how do i add new directories to @INC? i've managed to
>bungle one of my
>> >debian systems, and apt-get relies pretty heavily on some .pm's that
>> >aren't in the stock @INC location
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Thu, 10 May 2001, King, Jason wrote:
> Stephen E. Hargrove writes ..
>
> >how do i add new directories to @INC? i've managed to bungle one of my
> >debian systems, and apt-get relies pretty heavily on some .pm's that
> >aren't in the stock @INC l
Stephen E. Hargrove writes ..
>how do i add new directories to @INC? i've managed to bungle one of my
>debian systems, and apt-get relies pretty heavily on some .pm's that
>aren't in the stock @INC locations.
there's a hand module called 'lib' that's part of the CORE distribution ..
it basicall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
how do i add new directories to @INC? i've managed to bungle one of my
debian systems, and apt-get relies pretty heavily on some .pm's that
aren't in the stock @INC locations.
- --
) ,_)
(-(__ -|- __
) | (/_\/(/_
(
___
Brett W. McCoy writes ..
>On Wed, 9 May 2001, Rod Suter wrote:
>
>> I'm using perl through emacs, but I want to bring along some
>people on
>> NT4.0. They're accustomed to Visual Studio, and want IDE features,
>> such as project directories, global search and replace, debugger
>> linking, sourc
[EMAIL PROTECTED] writes ..
>(name = john)
-
>if I am trying to just extract "john" for the value $b, why would the
>following script not work. I thought it would take bothIt returns the
>full (name=john)
>
>#!user/local/bin/perl -w
>
>open TRY , "try.txt";
>
>while () {
> (my $b=$_) =~ s/
SS HK writes ..
>I would like to install some of the CPAN modules. How
>can I do that. I am using ActivePerl on Windows.
>
>Any pointers would be greatly helpful.
while others have mentioned 'ppm' which should be your first port of call ..
there are only a limited number of modules (albeit the
On Wed, May 09, 2001 at 02:48:54PM -0400, Casey West wrote:
: On Wed, May 09, 2001 at 03:45:40PM -0400, Brian Shoemaker wrote:
: : I'm having trouble getting a script to set a cookie.
: :
: : It works when I type the URL of the script into the browser and press
: : enter.. it works that's way
Cookies are set in the HTTP header portion of the HTML response. When you
run you include your script within the page, the HTTP header has already
been sent.
You need to set the cookie as a standalone page (though you can get cookies
in included scripts)
--A
-Original Message-
From:
On Wed, 9 May 2001, Brian Shoemaker wrote:
> I'm having trouble getting a script to set a cookie.
>
> It works when I type the URL of the script into the browser and press
> enter.. it works that's way and a cookie is set.
>
> But when I place that script in a HTML page like this
>
> the coo
I'm having trouble getting a script to set a cookie.
It works when I type the URL of the script into the browser and press
enter.. it works that's way and a cookie is set.
But when I place that script in a HTML page like this
the cookie won't set.
Is there something special you are suppose
On May 9, [EMAIL PROTECTED] said:
>Somebody please help me uderstand the deal with "qq". I have run tests
>on all three lines of code below and it turns out that #1 and #3 work
>but #2 does not. I am under the impression that "qq" acts as double
>quotes. So why doesn't #2 work isn't it the same a
On Wed, 9 May 2001 [EMAIL PROTECTED] wrote:
> Somebody please help me uderstand the deal with "qq". I have run tests
> on all three lines of code below and it turns out that #1 and #3 work
> but #2 does not. I am under the impression that "qq" acts as double
> quotes. So why doesn't #2 work isn't
Somebody please help me uderstand the deal with "qq". I have run tests on all three
lines of code below and it turns out that #1 and #3 work but #2 does not. I am under
the impression that "qq" acts as double quotes. So why doesn't #2 work isn't it the
same as #1? NO COMPRENDE!!! Thanks, [EMAIL
: > perl Makefile.PL
:
: make
:
: > make test
: > make install {su'ed to root}
When you do "make test" and you haven't done "make",
"make" will be done automatically.
-- tdk
: Apparently, even if I give PREFIX= as a command line param, you get the
: following errors:
: Skipping /home/tir/COMP/perl/modules/lib/site_perl/5.005/Date/Manip.pod (unchanged)
This means that Perl didn't bother to install Manip.pod because there
was one already there that was exactly the s
Brett...
Try 'ppm' at the command line.
___
C:\WINNT\Profiles\sneu\Desktop>ppm
PPM interactive shell (2.1.2) - type 'help' for available commands.
PPM>
Commands:
exit - leave the program.
help [command]- prints this screen, or h
Brett...
Try 'ppm' at the command line.
___
C:\WINNT\Profiles\sneu\Desktop>ppm
PPM interactive shell (2.1.2) - type 'help' for available commands.
PPM>
Commands:
exit - leave the program.
help [command]- prints this screen, or h
On Wed, 9 May 2001, SS HK wrote:
> I would like to install some of the CPAN modules. How
> can I do that. I am using ActivePerl on Windows.
You will need a C compiler in most cases. However, ActiveState has a lot
of CPAN modules packaged via their PPM facility. You should consult their
documen
Brett...
Try 'ppm' at the command line.
___
C:\WINNT\Profiles\sneu\Desktop>ppm
PPM interactive shell (2.1.2) - type 'help' for available commands.
PPM>
Commands:
exit - leave the program.
help [command]- prints this screen, or h
On Wed, 9 May 2001 [EMAIL PROTECTED] wrote:
> I feel strange putting such a simple question on this list, but then
> again, that is why I did not join the experts list.
>
> Any how, if I have a file called "try.txt" with the following line:
>
> (name = john)
>
> if I am trying to just extract "jo
On Wed, May 09, 2001 at 12:27:26PM -0500, John Joseph Trammell wrote:
: On Wed, May 09, 2001 at 01:50:24PM -0400, [EMAIL PROTECTED] wrote:
: > #!user/local/bin/perl -w
: >
: > open TRY , "try.txt";
: >
: > while () {
: > (my $b=$_) =~ s/^(\() (\w+)/$2/;
: > print $b;
: > }
: >
:
>
> Be careful -- you can't just move modules into a directory and expect them
> to work, since some depend on loading native code shared libraries.
Brett was right. I tried installing it, but wasn't successful. I then got
the Sys Admin folks to install it, and it went just fine!!
Apparently
Hi,
I would like to install some of the CPAN modules. How
can I do that. I am using ActivePerl on Windows.
Any pointers would be greatly helpful.
regards,
inssic.
__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http:/
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 7:50 PM
Subject: Very beginner question
>
> if I am trying to just extract "john" for the value $b, why would the
> following script not work. I thought it would take bothIt returns the
On Wed, May 09, 2001 at 01:50:24PM -0400, [EMAIL PROTECTED] wrote:
> #!user/local/bin/perl -w
>
> open TRY , "try.txt";
>
> while () {
> (my $b=$_) =~ s/^(\() (\w+)/$2/;
> print $b;
> }
>
> Thank you for humiliating me with this simple question.
Any time.
#!/usr/bin/perl -w
use st
I don't quite understand what your regex is intended to do, but if you try
tr/()//;
s/^.+=//;
it should return John as you intend. The tr will remove the parentheses
and the substitution will match everything up to the = and substitute it
with nothing.
alternatively you could do:
tr/()//
($f
On May 9, [EMAIL PROTECTED] said:
>(name = john)
>
>if I am trying to just extract "john" for the value $b, why would the
>following script not work. I thought it would take bothIt returns the
>full (name=john)
Let's run your regex through the regex explainer:
> (my $b=$_) =~ s/^(\() (\w
I feel strange putting such a simple question on this list, but then
again, that is why I did not join the experts list.
Any how, if I have a file called "try.txt" with the following line:
(name = john)
if I am trying to just extract "john" for the value $b, why would the
following script not w
At 11:14 AM 5/9/01 -0600, blowther wrote:
>I think it's pretty clear, given that the poster is asking for feedback that
>they are looking for options.
>
>Disclaimer: I don't work for free.
Sorry, I worded it poorly. I was responding to the original poster and did
it as a followup to your messag
> perl Makefile.PL
make
> make test
> make install {su'ed to root}
On Wed, 9 May 2001, Tirthankar C.P wrote:
> Folks, how do I load extra modules? I got Date::Manip today, and I know I
> should be putting it in the search-path of perl (@INC ?), but how do I do
> it? Can I get a small code snippet?
>
> I do not have su privileges on the machine I work, and would
On Wed, 9 May 2001, Shawn wrote:
> I just want an efficient mv subroutine or module which has such a thing,
> but none of the File::* things seem to have mv.
Try File::Copy -- it has a move function.
-- Brett
http://www.chapelperilous.net/btfwk/
--
: Folks, how do I load extra modules? I got Date::Manip today, and I know I
: should be putting it in the search-path of perl (@INC ?), but how do I do
: it? Can I get a small code snippet?
:
: I do not have su privileges on the machine I work, and would like the
: search-path to have my module
If you got it in a tar'ed package, it will come with a Makefile.PL script.
The general procedure is:
perl Makefile.PL
make test
make install {su'ed to root}
If you didn't get the tar'ed package, and just have .pm, then I would
recommend getting the tar'ed package instead. This would vary s
On May 9, Shawn said:
>I just want an efficient mv subroutine or module which has such a thing,
>but none of the File::* things seem to have mv.
>
>I would rather not shell out 1 times just to, in the vast majority
>of cases, move a file from on dir to another in the same fs.
If the standard
On Wed, May 09, 2001 at 12:13:54PM -0500, Shawn wrote:
> I just want an efficient mv subroutine or module which has such a thing,
> but none of the File::* things seem to have mv.
I think you'll be pleasantly surprised if you look in File::Copy.
--
I don't know what the hell is going on dude, b
At 12:13 PM 5/9/01 -0500, Shawn wrote:
>I just want an efficient mv subroutine or module which has such a thing,
>but none of the File::* things seem to have mv.
>
>I would rather not shell out 1 times just to, in the vast majority
>of cases, move a file from on dir to another in the same fs.
: I just want an efficient mv subroutine or module which has such a thing,
: but none of the File::* things seem to have mv.
perldoc -f rename
-- tdk
On Wed, 9 May 2001, Rod Suter wrote:
> I'm using perl through emacs, but I want to bring along some people on
> NT4.0. They're accustomed to Visual Studio, and want IDE features,
> such as project directories, global search and replace, debugger
> linking, source code error hilighting, etc. Can
Folks, how do I load extra modules? I got Date::Manip today, and I know I
should be putting it in the search-path of perl (@INC ?), but how do I do
it? Can I get a small code snippet?
I do not have su privileges on the machine I work, and would like the
search-path to have my modules dir, $HOM
I think it's pretty clear, given that the poster is asking for feedback that
they are looking for options.
Disclaimer: I don't work for free.
-Original Message-
From: Peter Scott [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 10:53 AM
To: [EMAIL PROTECTED]
Subject: RE: IDE for
I just want an efficient mv subroutine or module which has such a thing,
but none of the File::* things seem to have mv.
I would rather not shell out 1 times just to, in the vast majority
of cases, move a file from on dir to another in the same fs.
Can someone help?
--
Hob Goblin
[EMAIL PRO
At 10:41 AM 5/9/01 -0600, blowther wrote:
>I recommend wscite when I teach perl classes. The code highlighting is
>pretty good. No inline debugger tho. We use ptkdb for graphical debugging.
>--all of these are free.--
I think it's pretty clear, given the requirement for project directories,
a
I won't comment on what is 'better'. I like using the Perl modules, that is
what they are there for (and I have never had any problems). If you want to
know if you can use Compress::Zlib, please read the documentation which comes
with it and see if it fits your needs. I suggest you do that with al
I recommend wscite when I teach perl classes. The code highlighting is
pretty good. No inline debugger tho. We use ptkdb for graphical debugging.
--all of these are free.--
-Original Message-
From: Rod Suter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 09, 2001 8:19 AM
To: [EMAIL PR
At 05:49 PM 5/9/01 +1000, you wrote:
>Hi very new to perl... am getting some books asap.
Looks like Lincoln Stein's "Network Programming with Perl" would be apposite...
>I am writing a script to create named.conf records from a single field
>text file
>
>eg, domain.fle
>domain1.com
>domain2.ne
Hi Kevin,
Thanks for your info. Somebody in this mailing list
previously told me to use UNIX tar utility rather than Archive::Tar.
So, I decided to use UNIX tar. But now I want to compress the tar file
and that's the reason for this question. But it looks like you are
suggesting to us
Hi Kailash,
If you are doing the compression from with a Perl script, use Archive::Tar
(which uses Compress::Zlib in the background). After installing the modules,
use the following commands to see their documentation (which will give you the
basic syntax):
perldoc Archive::Tar
perldoc Compress:
Hello,
Can somebody advice on whether to use UNIX gzip or the perl Compress::Zlib
for compressing a tar file. If it is going to be Compress::Zlib, I would
appreciate if somebody can give me a basic syntax.
Thx
Kailash
ActiveState Komodo is nice for those needing an IDE -
http://www.ActiveState.com.
I prefer Emacs and use it at home, but I work in a M$ shop.
John Gilger
Technical Writer
Acres Gaming, Inc.
702.914.5585
-Original Message-
From: Rod Suter [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, Ma
At 10:19 AM 09-05-01 -0400, Rod Suter wrote:
>I'm using perl through emacs, but I want to bring along some people on
>NT4.0. They're accustomed to Visual Studio, and want IDE features, such
>as project directories, global search and replace, debugger linking,
>source code error hilighting, etc
PerlBuilder by SolutionSoft is a good product. Also, ActiveState has a
Perl IDE as well. I have not used the ActiveState one yet though
brent
I'm using perl through emacs, but I want to bring along some people on NT4.0. They're
accustomed to Visual Studio, and want IDE features, such as project directories,
global search and replace, debugger linking, source code error hilighting, etc. Can
anyone suggest a good group environment for
"Brett W. McCoy" wrote:
>
> On Tue, 8 May 2001, Chip Wiegand wrote:
>
> > - server log -
> > [error](2)No such file or directory. exec of /usr/local/apache/cgi-bin/
> > formparser.cgi failed
> > [error][192.168.1.8] Premature end of script headers: /usr/local/apache/
> > cgi-bin/form
On Wed, 9 May 2001, Craig Moynes/Markham/IBM wrote:
> I know there are plenty of wonderful Date manipulators (Date::Calc would
> simply my life unimaginably) but I am still waiting to hear back from our
> Legal Dept. regarding the use of the modules. I know that I should be
> allowed to use them
Thanks,
I know there are plenty of wonderful Date manipulators (Date::Calc would
simply my life unimaginably) but I am still waiting to hear back from our
Legal Dept. regarding the use of the modules. I know that I should be
allowed to use them considering the modules found as part of perl often
On Tue, 8 May 2001, Chip Wiegand wrote:
> - server log -
> [error](2)No such file or directory. exec of /usr/local/apache/cgi-bin/
> formparser.cgi failed
> [error][192.168.1.8] Premature end of script headers: /usr/local/apache/
> cgi-bin/formparser.cgi
> - I see the file DOES exist
Can you sepcify what your problem is, exactly.
At a first glance your code looks fine...
cr
On Wed, 09 May 2001 17:49:16 +1000, Clayton Winter said:
> Hi very new to perl... am getting some books asap.
>
> I am writing a script to create named.conf records from a single field
> text file
At 12:42 PM 08-05-01 -0400, Carl Rogers wrote:
>Sorry if this is a dumb question.. (I know, there is no such thing as a
>dumb question- only questions asked by dumb people:)
>
>I used the opendir() function in my Perl script to point to a folder with
>200+ text files for the purpose of extractin
At 04:46 PM 08-05-01 -0700, you wrote:
>Hello perl friends. I need to know if perl works with microsoft sql2000. if
>it does, which module do i need to get? thanks
I use DBI.
1. Set up the database you want to use as a 'Data Source' (Administrative
Tools| Data Sources (ODBC)),
2. Then...
Hi very new to perl... am getting some books asap.
I am writing a script to create named.conf records from a single field
text file
eg, domain.fle
domain1.com
domain2.net
domain3.org
and then create a named.conf entry from;
$namedconf="/etc/namedb/named.conf" ;
$namednow="/etc/namedb/named.c
to mr meltzer, mr cline, and mr mccoy of the [EMAIL PROTECTED] list:
Thank You!!! that was it! i remember looking at return function
before, briefly, but for some reason had thought it was only for
working within control loops... please, don't ask me why, it seems
stupid to me, too, now...
but y
67 matches
Mail list logo