Sam Carleton wrote:
>
> Alex Farber wrote:
> >
> > A good place to ask is news:comp.lang.perl.misc (after you've
> > read http://www.perl.com/pub/doc/manual/html/pod/perlfaq.html )
>
> Maybe I have read things like "Programming Perl" from O'R
Alex Farber wrote:
>
> Hi Sam,
>
> Sam Carleton wrote:
> > I have a few syntax error which I
> > don't know how to resolve. One issue is how to declare a local
> > variable, and the other is a problem with my open statement.
>
> maybe you should rea
I have begun writting my first mod_perl module. I figured that I would
get the logic working perl first, considering I am new at the language
in general. Well, low and behold, I have a few syntax error which I
don't know how to resolve. One issue is how to declare a local
variable, and the othe
Rob Tanner wrote:
>
> --On 07/16/00 16:11:07 -0400 Sam Carleton <[EMAIL PROTECTED]> wrote:
>
> > I would like perl to process a php page before or after the php
> > interpreter get's it hands on the file. I am trying to add a navbar to
> > the PHP
I would like perl to process a php page before or after the php
interpreter get's it hands on the file. I am trying to add a navbar to
the PHP code. How would I go about doing that?
Sam
m m wrote:
>
> folks allow me, Im the other newbie who was grappling
> with Apache::NavBar the other day :-)
> Ged will be proud, I persevered as he advised ;-)
>
> Sam new to perl, welcome.
> This maynot be the canonically right answer but for a
> simple task like youre asking, you can just "wa
I am new to perl and am trying to figure out how to get the navbar code
to work in the book "Writing Apache Modules with Perl and C". I have
trace it all the way down to the object that reads in the navbar config
file:
sub new {
my ($class,$conf_file, $r) = @_;
my (@c,%c);
my $fh = A
I have an apache question and I have NO idea where to post it. Is there
a newsgroup or mailing list simply for apache?
I have multipal domain names: domain.net & domain.org. I would like to
configure apache such that when someone goes to www.domain.org, they are
"redirect" to www.domain.net. T
I have successfully gotten Apache/mod_perl to compile under Linux many a
times. This is my first attempt at compiling it on FreeBSD and I am
having problems. The problem is that when to do the "make test", apache
never starts up. I had once run into this on Linux and that was because
the .make
Folks, I have installed mod_perl and I would like to access a DB2
server. What perl modules do I need to install? Are there any
tutorials out there to give me the basics of access DB2 from perl?
Sam
"Jason C. Leach" wrote:
>
> hi,
>
> There be truth to the reply. You can write all the C or ASM you like, but
> your algorithm is where it will count. Anyone who knows how to do BIG-O
> will know this.
>
> A good perl programmer will code a bad C programmer under the table with
> speed and ef
Jeff Beard wrote:
>
> Or read chapter 9 in the Eagle book.
>
> --Jeff
>
> At 10:43 AM 4/30/00, Tobias Hoellrich wrote:
> >At 01:34 PM 4/30/00 -0400, Sam Carleton wrote:
> > >I am learning perl/mod_perl right now and have some questions. I would
> > &g
Tobias Hoellrich wrote:
> Almost :-) Apache cannot be used for multipart/form-data, gotta use
> Apache::Request instead. Change the start of the handler to :
>
> sub handler {
> my $r = shift;
> my $apr = Apache::Request->new($r)
Tobias,
The new is blowing up on me
Tobias Hoellrich wrote:
>
> Almost :-) Apache cannot be used for multipart/form-data, gotta use
> Apache::Request instead. Change the start of the handler to :
>
> sub handler {
> my $r = shift;
> my $apr = Apache::Request->new($r)
>
> and then get the params with @p
I am learning perl/mod_perl right now and have some questions. I would
like to see all the functions that I can call on the Apache request
object. Can anyone point me to some documentation? I didn't see a
listing in "Writing Apache Modules in Perl and C".
Sam
"Jeffrey W. Baker" wrote:
>
> On Sat, 29 Apr 2000, Sam Carleton wrote:
>
> > #! /usr/bin/perl
> >
> > #cgi-lib.pl was optained from http://cgi-lib.berkeley.edu/
> > require "cgi-lib.pl";
>
> If we can erradicate polio and small pox,
Sam Carleton wrote:
>
> I am in a very tight spot right now. I need to have some C++ code
> posting data to a web browser vi 'multipart/form-data' by Monday. I
> would REALLY like to have either a normal perl CGI script or mod_perl
> script that will simply display a
Is anyone up to the task, or able to give me some pointers on how
I can do this myself?
Sam Carleton
I simply cannot get mod_perl/apache to compile. My understanding is
that I configure .makepl_args.mod_perl to compile both mod_perl. Then I
do the following:
perl Makefile.PL
make
make test
make install
Assuming there where no problems, all should be installed and ready to
go. But all is not
Doug MacEachern wrote:
> On Tue, 11 Apr 2000, Sam Carleton wrote:
>
> > This is the error message I got when I compiled mod_perl:
> >
> > Perl lib version (5.00503) doesn't match executable version (5.006)
at
> > /usr/lib/perl5/5.00503/i586-linux/Config.pm lin
Geoffrey Young wrote:
> > ---make test error---
> > Syntax error on line 30 of
> > /usr/src/mod_perl-1.21_03/t/conf/httpd.conf:
> > Invalid command '=pod', perhaps mis-spelled or defined by a module not
> > included in the server configuration
> > done
> >
Doug MacEachern wrote:
> On Tue, 11 Apr 2000, Sam Carleton wrote:
>
> > This is the error message I got when I compiled mod_perl:
> >
> > Perl lib version (5.00503) doesn't match executable version (5.006) at
> > /usr/lib/perl5/5.00503/i586-linux/Config.pm lin
This is the error message I got when I compiled mod_perl:
Perl lib version (5.00503) doesn't match executable version (5.006) at
/usr/lib/perl5/5.00503/i586-linux/Config.pm line 7.
Compilation failed in require at
/usr/lib/perl5/5.00503/ExtUtils/MakeMaker.pm line 13.
BEGIN failed--compilation abo
Steven Champeon wrote:
> On Fri, 7 Apr 2000, Sam Carleton wrote:
> > I want to call traceroute to the remote_host from within a mod_perl
> > script, being a C/C++ programmer I don't the best way to do that. Is
> > there a traceroute object I could use? If so, how?
I want to call traceroute to the remote_host from within a mod_perl
script, being a C/C++ programmer I don't the best way to do that. Is
there a traceroute object I could use? If so, how? Otherwise how do I
run traceroute from within a perl script?
Sam
I have followed the example in "Writing Apache Modules in Perl and C".
The module Apache::ESSI is working fine for a virtual site (development
site), but it does not work for the main (non-virutal) site. Here a bit
of my httpd.conf:
-
I have followed the example in "Writing Apache Modules in Perl and C".
The module Apache::ESSI is working fine for a virtual site (development
site), but it does not work for the main (non-virutal) site. Here a bit
of my httpd.conf:
-
I have followed the example in "Writing Apache Modules in Perl and C".
The module Apache::ESSI is working fine for a virtual site (development
site), but it does not work for the main (non-virutal) site. Here a bit
of my httpd.conf:
-
#
Sam Carleton wrote:
> I would like to have server-side includes to be parsed on DirectoryIndex
> files. I have followed the example in "Writing Apache Modules in Perl
> and C" and have my Apache::ESSI and this is what is in my perl.conf:
>
>
> SetHandler p
I would like to have server-side includes to be parsed on DirectoryIndex
files. I have followed the example in "Writing Apache Modules in Perl
and C" and have my Apache::ESSI and this is what is in my perl.conf:
SetHandler perl-script
PerlHandler Appache::ESSI
PerlSetVar ESSIDefs co
Stas Bekman wrote:
> Folks, please refrain from posting in HTML.
>
> Some of us use email clients that post and read email in the old good text
> mode. When I don't have enough time on my hands I delete such emails since
> I cannot read them right away. Probably others too.
>
> Please don't tell
darren chamberlain wrote:
> Try using CORE::open to be sure that the default open is being called.
tried it, I am getting the same error, any more ideas?
Sam
I am trying to get the Apache::Magick module from the O'Reilly book
"Writing Apache Modules with Perl and C" to work. The error I am
running into is:
Can't locate object method "OPEN" via package "Apache" (line 80)
The looks real simply:
open(STDOUT, ">&=" . fileno($fh));
Any thoughts on what
had returned bad status
Running make install
Oops, make had returned bad status
---
Has anyone seen this error before? Any thoughts on how to fix it?
Sam Carleton
34 matches
Mail list logo