Just one sentence: No code, node help!
Please also provide us your mp and apache versions!
Tom
Senthil Nathan wrote:
> Hi All,
>
> Im using mod_perl and notice that while fetching data from a directory
> where the files are present, its not reading those files and getting the
> data.
>
> Afte
Without seeing your code, it's pretty difficult to say. First, I would strongly suggest you look here. Second, it sounds like a buffer issue.
mark>>> Senthil Nathan <[EMAIL PROTECTED]> 31-Jan-06 00:53:05 AM >>>
Hi All,Im using mod_perl and notice that while fetching data from a directory wher
I have Apache 2.2 running with mod_perl 2.0.2 -> no problems. I don't know the differences in the code base, but so far my R&D linux box at home has been a lot easier to config than Apache2.0.x + anything.
mark>>> Perrin Harkins <[EMAIL PROTECTED]> 30-Jan-06 16:30:37 PM >>>
On Mon, 2006-01-30
hello,
It seems that you want to reload the config file when
mod_perl programs are running.
See here please:
http://perl.apache.org/docs/1.0/guide/porting.html#Reloading_Modules_and_Required_Files
hope that can help you.
Without seeing your cod
Frank Wiles wrote:
On Mon, 30 Jan 2006 18:32:13 -0600
"JupiterHost.Net" <[EMAIL PROTECTED]> wrote:
a) "new CGI" is old
FYI...
Just downloaded the latest CGI.pm and the docs still show using
this syntax, as much as I agree it should always be CGI->new();
The docs are old and n
Frank Wiles wrote:
> On Wed, 21 Dec 2005 11:21:14 +0100
> Peter Mogensen <[EMAIL PROTECTED]> wrote:
>
>
>>I think I have the signs of a bug somewhere. I'm building a mod_per2
>>application and lately the apache2 process has started to sigfault. It
>>seems to be after I started "use"ing MIME::Lite
On Tuesday 31 January 2006 08:35 am, JupiterHost.Net wrote:
> If it looks like Perl 4 and works like Perl 4 its prolly from Perl 4
> (pronounced "at least needs to be checked since it may indicate the
> problem")
>
> new Whatever;
>
> will work but its highly recommended for various reason to do
I set up apache 2.055, apreq2 (from SVN as per Philip M. Gollucci),
and mod_perl2.02 on FreeBSD 6.0. It works, but if I include 1 site
that uses HTML::Mason (and therefore mod_perl2 and apreq2) and
restart the server I get:
[Tue Jan 31 10:36:58 2006] [notice] SIGHUP received. Attempting t
Close enough to perl, I hope...
I'm trying to string the filename from the path:
/dir/subdir/file.ext => file.ext
with
/\w+\.\w+$/
and am getting the entire path returned. I am falling asleep reading the perldoc regex "intro," "tutorial," full doc, and even Jeffrey Friedl's "Maste
man File::Spec ;-)
Mark Galbreath wrote:
> Close enough to perl, I hope...
>
> I'm trying to string the filename from the path:
>
>/dir/subdir/file.ext => file.ext
>
> with
>
> /\w+\.\w+$/
>
> and am getting the entire path returned. I am falling asleep reading
> the perldoc regex
on the other hand:
-8<-
my $bla = "/dir/subdir/file.ext";
$bla =~ /(\w+\.\w+)$/;
print $1 . "\n"; # file.ext
-8<-
works perfectly
Mark Galbreath wrote:
> Close enough to perl, I hope...
>
> I'm trying to string the filename from
Too Cool!! Thanks, Tom!
mark>>> Tom Schindl <[EMAIL PROTECTED]> 31-Jan-06 12:06:22 PM >>>
man File::Spec ;-)Mark Galbreath wrote:> Close enough to perl, I hope...> > I'm trying to string the filename from the path:> > /dir/subdir/file.ext => file.ext> > with> > /\w+\.\w+$/> > and am
Mark Galbreath wrote:
> Close enough to perl, I hope...
not really, but we'll forgive you.
>
> I'm trying to string the filename from the path:
>
>/dir/subdir/file.ext => file.ext
see File::Spec::splitpath()
:)
--Geoff
On 1/31/06, Mark Galbreath <[EMAIL PROTECTED]> wrote:
>
> Close enough to perl, I hope...
this kind of question would best go to your local perl mongers chapter
but anyway, I'll break the rules for someone from the General Accounting
Office on the occasion of the retirement of Mr. Greenspan...
>
or $bla=~/([^\/]+)$/; in case the filenames have non-alpha chars or more
dots...
Tom Schindl wrote:
on the other hand:
my $bla = "/dir/subdir/file.ext";
$bla =~ /(\w+\.\w+)$/;
print $1 . "\n"; # file.ext
works perfectly
Mark Galbreath <[EMAIL PROTECTED]> wrote:
> Close enough to perl, I hope...
>
> I'm trying to string the filename from the path:
>
>/dir/subdir/file.ext => file.ext
>
> with
>
> /\w+\.\w+$/
>
> and am getting the entire path returned. I am falling asleep reading the
> perldoc regex
> Better yet, somebody please profer a solution? :-)
perldoc File::Basename;
perldoc File::Spec;
--
Steven Lembark 85-09 90th Street
Workhorse ComputingWoodhaven, NY 11421
[EMAIL PROTECTED]
> this kind of question would best go to your local perl mongers chapter
Er... no. Unless the issue is splitting up a
path to the nearest beer, I'd suggest keeping
it out of ny.pm.org :-)
--
Steven Lembark 85-09 90th Street
Workhorse Computing
Can someone point me at docs as to why that's better? I've seen both used and
didn't know one was considered better than the other.
new CGI; is ambiguouse (did you mean to call the function new() in the
main:: name space with the expression (function? constant? bareword?
handle?) "CGI"?
CGI-
Thanks to all (even the flames : -) ) who suggested:
perldoc File::Basename; perldoc File::Spec;I just got a new job programming Perl 5.8.7. My last Perl experience was 10 years ago with 5.0, and my regex is rusty. Not that I ever liked regex to begin with, which is why File::Spec and
Beer? I'm all over that! I gotta get out of here early (before 8:00 PM) today because Bush is giving the State of the Union at the Capital...about 4 blocks away.
Mark>>> Steven Lembark <[EMAIL PROTECTED]> 31-Jan-06 12:34:18 PM >>>
> this kind of question would best go to your local perl monge
so cool. I'm using Brian Ingerson's IO:ALL to slurp some files
May want to look at File::Slurp also, its highly efficient, may help :)
I just installed a new version of perl (5.8.7) on one of my servers.
After I had a complete install w/o any trouble, I re-installed mod_perl
(2.0.2) so that it would be using my newer version of perl. It is not.
It is still using the old version (5.8.3). I have recompiled perl and
mod_perl in a
Apache::DBI and DBI's connect_cached both claim to keep your database
handles fresh and happy, but I've had numerous problems trying to get either
of them to work properly. If a database connection is dropped, sometimes I'd
have to refresh the page two or three times before the "internal server
err
I'm not very familiar with UNIX but I believe I followed the instructions
exactly for installing mod_perl, and I still ran into the problem
below. (Since I'm not used to UNIX though, if you need me to post more
information, please specify as precisely as possible what I should type
since I won
I had the same problem when I installed 5.8.7 over 5.8.6. I had to do a
find / -iname "*perl*
and because I'm not smart enough to know all the shit on my machine that uses perl nor was I inclined to hunt down every config file, instead of deleting all the old perl I created symbolic links
Web application programmer 1099 contractor
This position will work augment our project staff developing database-backed
web applications and ecommerce websites using modPerl, apache and mySQL.
Development work will include developing new projects and supporting
existing projects; additionally yo
Web application programmer 1099 contractor
This position will work augment our project staff developing database-backed
web applications and ecommerce websites using modPerl, apache and mySQL.
Development work will include developing new projects and supporting
existing projects; additionally yo
Derek Robson wrote:
> looking for help with a setting up mod_perl
>
> openbsd-3.1 on x86
> [...]
> this is the error I get in the apache error_log.
> _
>
> [Sun Jan 29 16:08:20 2006] [notice] Apach
I cant find a libperl.so on my system at all.
% find / -name "libperl.so"
%
any other thoughts??
At 01:21 p.m. 1/02/2006, Philippe M. Chiasson wrote:
Derek Robson wrote:
> looking for help with a setting up mod_perl
>
> openbsd-3.1 on x86
> [...]
> this is the error I get in the apache err
30 matches
Mail list logo