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]
ORM-param from "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 eventua
hi,
How can I set in 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
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 t
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]
=
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
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
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 query;#s
> 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, WinN
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
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 ...:")
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;
$obj->callS
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 h
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 i.e.
!!! 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 mo
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 PROTEC
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 :
do U see no POST (the interesting thing is that $r->method returns GET in
this case i didn't knowed that :") )..
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 ...!!
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,
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 :
PerlTransHandler Apache::MyHandler
Yes I know this is wrong...can this be done in some other way ?
Thanx
=
iVAN
[EMAIL PRO
hi,
can someone point me to a place where I can see all the strings generated for
HTTP_USER_AGENT :
IE3.x,4.x,5,5.5
NN3.x,4.x
may be other too...
thanx
=
iVAN
[EMAIL PROTECTED]
=
hi,
how can I execute system command (f.e. ipchains) from within web script, securely
and easly.
[ f.e. - qx(ipchains ..blah..) ]
Now I get the following error :
"ipchains : Permission denied (you must be root)"
Second question :
Can someone recommend me a good RE for detecting browsers i.e.
or
hi,
Check this :")
http://www.fenrus.demon.nl/
pls send answers directly to me (so not clutering the list). Thanx
I have the following situation Apache Web server under Linux and we must decide
which DB server to use.
The choice can be Microsoft SQL/NT or Oracle/Linux.
I'm a teleworker at the moment, so get this in mind too.
Please give me P
hi,
I was wondering why the PerlModule and perlRequire didn't work for me.
I have a fresh installation of :
apache 1.3.9 + mod_perl 1.21 (that is bundled in RedHat6.1),
what was my surprise to see that when I try to use something like :
PerlRequire .../startup.pl
or
PerlModule Apache::DBI Apac
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
=
[EMAIL
Isn't best to use Cheetah as a logo animal :")
That's mean speed.
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=5&radius=60&when=30&ongoing=b&category=Everything&submit=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,
a couple of questions.
I can't get the $ENV{REMOTE_USER} var., after succesfull
authentification - there is nothing in it.
Here is the configuration :
...blah
.blah ...
AuthDBUserFile /work/.volunteers.db
AuthGroupFile /dev/null
AuthName 'Volunteers Members Area'
AuthType Basic
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 ?!?!)
If I use th
hi there,
I have problem. The situation is as follow :
RewriteRule ^(.*)\/index\.html$/tohtml.pl?path=$1
The problem is that I have some directories named like this "blah&wlah",
so a request like this :
/blah&wlah/index.html
rewriten like this :
/tohtml.pl?path=blah&wlah
and the
hi,
Does anyone has something for counting FTP hits ? What I mean ?
My idea (just thoughts) is as follow :
1. Put in my pages link.
2. Write a rewrite rule, http -> ftp, if this is possible ?!?
3. And then count via perl script.
or something similar .
Any other ideas. I don't want to make c
hi there,
1. Is there a easier way, I mean more transparent way to cache Tie to
DBM files (I need READONLY).
Something like "use Apache::DBI" in startup.pl file and then when I use
"tie" or whatever ... if there is cached connection to get it instead
creating new one, will this improve the speed
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
45 matches
Mail list logo