Hi,
Can must_contain_one_of contain a range of characters? If so, how? I.e, A-Z,
a-z, etc, much like a regex? Should I just use a regex? Which is best?
Justin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Version 1.0 of CGI::Application::Generator is now available via CPAN!
Download site for CGI::Application::Generator:
http://search.cpan.org/search?dist=CGI-Application-Generator
CHANGES SINCE VERSION 0.01:
- First release version of CGI::Application::Generator, a
module intended to allow t
Hi list!
I have to output a html table in some of my embperl pages which always looks the
same but the data is slightly different.
My approch was to write a small sub which takes the array with the data and
looks like this:
---
First of all, you probably want to pass the array by reference, but I think
you want a hash reference in reality.
aka
print &interface_list(\%interfacelist);
next you actually need to assign it to a local var in the function.
Third, use CGI.pm or some sub class for the love of god.
Next your don
Hi again!
I made a mistake at the variable passing ;-)
Now this works:
sub interface_list (@)
{
my @interfacelist = $_[0];
.
.
.
}
But it's still outputted at the end of the page instead of where I call the sub.
I also don't like the print statements.
Any Idea?
THX Alex
##
This is the last piece in my implementation. If anyone can help with how to
debug this or what is wrong with my configuration, I'd really appreciate it!
I'm trying DBI::Auth against a Postgresql database for authentication. It's
not working. My postgres debug log shows no activity as well as
i'm not sure if You already got good solutions for Your problem but i think
You could call the sub with [- ... -]; like this:
[- interface_list (@interfacelist); -]
...when the sub is like this (notice it's done without using print-command -
i think it might(?) mess your things up or at least it
sorry i didn't read the whole question...
interfacelist should be ok if your sub is like this (look at my previous
email):
[* sub xxx{ *]
[- (@interfacelist)=@_; -]
...
[+ $interfacelist[0] +]
...
[* } *]
there might be better ways to do it, but i know nothing about them.
Hope this help
Hi,
Your aproaching is confusing and don't use the features Embperl provide
you :)
Use Embperl [$ subs $] when you need to output data and when it is not
possible use print OUT inside your subs to print data in the
correct place;
About CGI.pm, you dont't need it when using Embperl.
Try to use t
If you're going to call the sub in a [+ +] block, you should have the
result returned, not printed. Note that, as others have mentioned, this
is not the standard embperl way of doing things, but it's an option.
> sub interface_list (@interfacelist)
> {
my $res = "
>
> Mon
> Device
I'am trying to install Embperl-2.0b8 onto RedHat 8.0, using Perl 5.8,
mod_perl-1.99_08 and apache 2.0.43.
Apache and mod_perl is already installed the later as DSO
and I have the apache sources around.
I'am getting the following error when installing :
---
11 matches
Mail list logo