Hi, I have a perl script with this sentence:
...
system "java program_java";
...
My script runs fine on my command line, but when I run it from navigator, with my Apache server and mod_perl active, it won't run fine.
Have I to install Tomcat or Apache Jserver?
What can I do?
Thanks you
Hi,I've just intalled Apache 2.0.46 on my redhat 9 ...
When I test it with http://localhost, it works fine. But when I change the DocumentRoot from "/usr/local/apache2/htdocs" to "/home/myuser/web", It return me the forbidden error.
Permisions are same on two directories...
After I accept all default options in
perl -MCPAN -e shell;
I tried to install my wanted package:
cpan> install Time::HiRes
CPAN: Storable loaded ok
Fetching with LWP:
ftp://ftp.rediris.es/mirror/CPAN/authors/01mailrc.txt.gz
Going to read /home/i5513/.cpan/sources/authors/01mailrc.txt.gz...
Hi, I want to use Time::HiRes module, but perl gives me next error:
Can't locate loadable object for module Time::HiRes in @INC (@INC contains: ./Time /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi...
Hi!
I've got a problem with CSS and Mozilla.
I want title attribute with files:
<span class = "A" title = "File 1
File 2
File 3
...
File n> it's class A </SPAN>
IExplorer gets me it ok.
Konqueror gets me it ok too.
But Mozilla doesn't get me it not ok. ( Mozilla ignores...
Hi! I'd like to make a page with the next behaviour:
If it is possible using CSS ...
Example:
...
<STYLE>
SPAN.NUMBER {background:green}
</STYLE>
...
<SPAN CLASS="NUMBER" XXX=YYY> 888 </SPAN>
...
When I put on mouse over 888, I'd like a small textbox (a comment / hint and not a edit...
Hi! I'd like to make a page with the next behaviour:
If it is possible using CSS ...
Example:
...
<STYLE>
SPAN.NUMBER {background:green}
</STYLE>
...
<SPAN CLASS="NUMBER" XXX=YYY> 888 </SPAN>
...
When I put on mouse over 888, I'd like a small textbox (a comment / hint and not a edit...
Hi again, I need a copy of $1..$last after a $var =~ /$er/ is done.
Is there any var that says how many groups are there at last expression evaluate?
For example, I'd like:
$var =~ /$er/;
# $n_groups = n_match_parents ($er)
map { $groups{$_} = ${$_}} 0 .. $n_groups;
How I can get $n_groups...
Thanks you, icrf ....
See my example at second post:
$s =~ /The NUM of MONTH( of YEAR)?/ => True!!! ;)
(of curse too):
$s =~ /The NUM of MONTH($regex)?/ => True!!!
With your form ($search = "The NUM of MONTH ( of YEAR)?) this don't run.
I think I had to have a combinatory order algoritm...
Hi! I want to use perl' debugger. How can I enable a breakpoint at other file that isn't principal?
I'm look for a sentence like:
b my_file#no_lin
(by default it is only possible at current file, isn't?)
I know I can :
b postpone my_subr
It is the more similar I could find, but I would like...
Thanks for your help!
I looked up about how many words are there before than $i, my post wasn't clear.
I have read perlvar and I saw $-[i] which is a variable thath gives me a solution for my problem.
Hi! I have a new problem :(
Imagine (this is only a example, i'd like it was general):
$er = "(a) (b\w*) (b\w*) (c)";
$word = "d a b b c d a b b c d";
while ($word =~ /($er)/g)
{
I want to know how many words are there before second b
}
How can I obtain the pos of ($4)...
Thanks you. I think this is too much specific problem ...
I want to match this two expresions:
I want any form thath consider the first sentence how a expresion regular.
So, if I have:
$s = "(DET|The) (NUM|14) (PREP|of) (MONTH|January|February)"
I look up about a form thath:
(I'd...
I want to match this two expresions:
(this is the phrase and no the expresion regular)
(DET|The) (NUM|14) (PREP|of) (MONTH|January)
with:
The NUM of MONTH (of YEAR)?
A global example:
(TYPE | word) (TYPE | word) ...
whith
(TYPE |word )*
Any idea?
Thanks!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.