hi,
I have object that inherit Storable... so I store the object.. later
when I try to retrieve the object I get :
Segmentation fault (11)
Mandrake 8.1, Storable 1.012
Can u help me .
raptor
[EMAIL PROTECTED]
something to
anything..etc..
I think in mod_perl world we are about to search MEMORY optimisation
RATHER speed optimisation... :)
raptor
[EMAIL PROTECTED]
...
work on Mars. The investor claims to have evaluated Perl vs. C years ago,
to have witnessed that every single hit on the webserver under mod_perl
causes a CPU usage spike that isn't seen with C, and that under heavy load
]- this seems to me like non-compiled script, module or
hi,
How can I set in perl section, say :
PerlModule Blah.pm
PerlSetVar XXX On
PerlSetVar YYY Off
and similar...
$VirtualHost{address} = {
PerlModule = 'Blah.pm',
PerlSetVar = { XXX = 'On', YYY = 'Off' }
};
!!?!
Thanx
=
iVAN
[EMAIL PROTECTED]
=
hi,
Can I set the IP Address of VirtualHost via script from inside Perl
section in httpd.conf !?
Example?
Thanx
=
iVAN
[EMAIL PROTECTED]
=
hi,
I have a site, it has two copies one that is on the Dev server (dev-copy)
and the other Production one.
So what I want ?
I want to have the Production site on my dev machine ... ( i'm arraging that
the DB and all dependant stuff get copied after some time passes). But AS U
KNOW I can't have
hi,
Anyone to know a way to set the host virtual-address dinamcly i.e.depending
on what is the dynamic address I get by the pppd deamon when I connect !?!
=
iVAN
[EMAIL PROTECTED]
=
Note that there are _no_ nested subroutines in Perl ..So what you
basicaly have are two global subroutines with
local values. You get the closure for the first invocation. But it's
not the same variable anymore.
]- Now understand thanx alot
=
iVAN
[EMAIL PROTECTED]
=
hi,
I have the following situation ... it is not big issue but i'm interested
why this happen .. so here is it :
my $ID = 555;
print $ID;
sub blah {
..
{
local $$dbh{AutoCommit} = 0;
eval {
local $$dbh{RaiseError} = 1;
$ID = selectrow
thanx,
Yes I see ... but I was interested WHY when we are in nested subroutines ...
the inner-one will see the lexical var only the first time !! I mean the
REASON of this perl behaviour ! It it closer/easier to think of it that
my-vars are visible all the time in their inner scopes (except if u
didn't thought of that :)), but what will broke if the var is
copied/aliased every time not just the first time ...
I mean the call to closure make a new instance of the sub() every time
isn't it ?!?
! I see the closures get bound every-time , but non closures only the
first time !
But
This may be of interest:
http://search.cpan.org/doc/TIMB/DBI_Talk5_2001/sld059.htm
]- Where is $h-{FetchHashKeyName}, I didn't found it even in the source
perl -m DBI my version is 1.18
Tim.
ok my 5c,
My vote is for Interbase. Why ?
+small runtime size
+zero administration
+FK with CASCADE
+I think it runs on more platforms than any other DB
+SUSPEND in stored procs
+stored procs can be used in FORM clause
+can run on less-powerfull PC's
Personaly I've used it on Win95, Win98,
Anybody know if exist some module how CGI::Out for buffering output in CGI
script ?
]- The other approach if U don't want to append to var...then U can do
something like this :
my $buffer;
sub xprint { $buffer .= @_ };
possibly U will want to move this code into separate module...!!
then use
hi,
I have the following problem... a module/object that use a callback
func..example :
use Blah;
my $obj = new Blah(...);
..later on ...
my $firstcall = 1;
sub checkSomething {
if ($firstcall) {$firstcall = 0; return 0}
code ...
};
$$obj{checkCode} = \checkSomething;
thanx alot I also thought it has to be closure... but didn't done it in the
right way...
i.e. i was doing this way :) :
{
my $firstcall = 1;
sub checkSomething {
if ($firstcall) {$firstcall = 0; return 0}
code ...
};
}
but it has to be anonymous ...:)
raptor wrote:
hi
http://dailynews.yahoo.com/h/zd/20010723/tc/it_bugs_out_over_iis_security_1.
html
Ironically, having tried the suggestion from Darren, I discover that I
don't have
LWP installed. My sysadmin however, will install anything for me as long
as
I provide him with an RPM for it.
I don't mean to sound lazy, and I have just checked rpmfind.net, but I
can't
quickly put my hands
hi,
FileUploadMax wrongly stated in ASP docs, U should use :
PerlSetVar FileMaxUpload xxx
instead.
One more thing, does someone knows a way to capture the error, if the user
tries to upload bigger file than accepted.
So I can inform him.
Is it possible to set CGI::POST_MAX on a per request
!!! Is it possible to have reference on the left side of the equation !!!
I've tried this to alias HASH :) but didn't succeeded...
sub {
my \$hash = shift; # $_[0] is \%myhash
};
Yes I know that there is aliasing : my *hash = \%{$hashref}..
And I see that here u use : \$r-blah
...Never mind
hi,
What I want is access from module to executed-at-the-moment script namespace
i.e.
the module Utils.pm :
$abc.asp::buffer .= 'hello.';
the script xxx.asp :
use Utils;
use vars qw($buffer);
print $buffer
==
How can I do this. Currently I'm doing something like this :
the
hi again,
I've made some tests and debuging, the problem seems to be in CGI module...
first of all in eg/file_upload.asp this :
print $q-start_multipart_form();
returns this :
FORM METHOD= ENCTYPE=multipart/form-data
do U see no POST (the interesting thing is that $r-method returns GET in
hi,
I moved to CGI.pm 2.74 and everything is OK now :)
So be aware that u may have problems with the following config :
RedHat 7.1 + Apache 1.3.20/mod_perl 1.25, ASP.pm, CGI ver 3.x
CGI 3.01 even gives error on /compilation test.
CGI 3.02 doesn't give this error
HtH
=
iVAN
[EMAIL
On Thu, 18 May 2000, ___cliff rayman___ wrote:
legitimate job offers from a reputable company are never spam.
especially if your salary is not more than ~$150-$200 per month :"(
sorry for the off-topic
iVAN
[EMAIL PROTECTED]
hi,
very interesting. Search for : "statinc" returns nothing and the box get filled
with "tatinc" instead "statinc" ?!?!:")
this under KDE viewer, now will try netscape ...!!
hi,
My question is instead of using two Apache servers OR Apache+proxy scenario
(static vs dynamic pages) will it be possible to leave static pages to kHTTPD
and run only one APACHE server.
Did someone tried it...
Thanx
=
iVAN
[EMAIL PROTECTED]
=
Yeah that will be really cool... can you inform me about the progress on
this, if you made something ... I thought about something similar not exact but
some sort of processor to handle XML(XSLT) - HTML conversations +
some sort of caching tehnique, but I also like this approachsomething like
hi, someone to know is there a binary package of mod_perl for BeOS
hi,
Anyone with experience running Apache on both platforms any recomentation
pluses, minuses.
Send them directly to me not to the list. Not war's, I just need oppinions.
You can include Solaris too.
Thanx alot in advance
=
iVAN
[EMAIL PROTECTED]
=
hi,
I was wondering how to map PerlTransHandler only for certain type of files.
( I'm doing URI rewriting not URI-filename translation ?!!)
Something like :
Location
Files ~ "xml$"
PerlTransHandler Apache::MyHandler
/Files
/Location
Yes I know this is wrong...can this be done in some
hi,
Check this :")
http://www.fenrus.demon.nl/
hi,
Is there Session module that has capability more like ASP::Session
rather than Apache::Session.(I mean hanlidng the cookies too, Joshua is
it easy to extract Session functionality from ASP as a standalone module
:")).
OR
what mostly the MASON people use to handle Sessions.
Thanx
=
hi,
If I put this on Location: bar on the Netscape browser, I get the result
of the search as expected (try it).
http://www.volunteermatch.com/results/results.jtmpl?zip=5radius=60when=30ongoing=bcategory=Everythingsubmit=Search
But If I try to do this via LWP package, I didn't get the
hi,
I want to make the following :
1. Query a site ?
2. Get the results of the query in my script (we are still in Apache)
3. Exctract the information I need ?
4. Fomat it and send to the browser ?
Does someone made something similar. Example ?
Thanx in advance
=
iVAN
[EMAIL PROTECTED]
hi,
I've tried :
RewriteMap escape-map prg:/path/to/file/escape.pl
RewriteRule ^(.*)\/index\.html$ /tohtml.pl?path=${escape-map:$1}
when the script is as follow for ex.:
$| = 1;
while() { s//_/g; print $_};
or similar it doesn't work (more precisely if I use or STDIN ?!?!)
If I use
Lionel Benhaim wrote:
]- add to your startup.pl file, something like this :
use Apache::ASP ();
Apache::ASP-Loader('/home/httpd/project/', "(asp|htm|html)\$");
You must have first in httpd.conf something like this :
PerlRequire /home/httpd/project/global/startup.pl
Or you can add it directly
36 matches
Mail list logo