I've been looking at Catalyst lately. I wonder if anyone has
considered the possibility of using embperl as the templating
engine? I see that views can be handled by mason already.
-Derrick
"[The Perl source is] an interconnected mass
of livers and pancreas and lungs and little
sharp point
On Dec 20, 2005, at 11:17 PM, Gerald Richter wrote:
Unfortunately there are a few lines of C code missing to get this
done. It was always my intention to make such a usage
possible, but I
didn't got around until now to implement the last piece :-(
Ah. Does this mean that you have now done
I just tried to apply the patch and had two issues:
* I don't have a podsrc/Config.spod, so it couldn't apply the patch.
I'm guessing this is no big deal. I'm using the Embperl-2.1.0
installation tree.
* After applying the patch and running perl Makefile.PL; make; make
test; I got th
I experienced some weird behavior with [! !] before. Here is my
theory: The [! !] blocks are executed once per apache child, which
means that if you change the files/routines then you need to restart
the server to force all the children to re-read the files/routines.
I was developing a pa
On Oct 28, 2005, at 3:36 PM, Gerald Richter wrote:
I finally had the time to get in and look at the headers. It
seems the issue was in the expiration calculation. The
cookie that was coming through was set to expire 10 mins
before it got there! I changed the cookie_expires in my
config file
Well, I'm certainly not a javascript expert, but it seems to me that
the issue here is how to make data pulled by embperl on the server
side available to the javascript on the client side.
I assume that there is a way to access submitted form data from
javascript. You can put the data into
I'm having an issue where sometimes the cookie is not being
set on the client. If you do a graceful restart of apache
and then try again, the cookie is set. What's even more
strange is that not all clients are having this problem, but
the ones that do will have the problem consistently until I
r
I'm having an issue where sometimes the cookie is not being set on
the client. If you do a graceful restart of apache and then try
again, the cookie is set. What's even more strange is that not all
clients are having this problem, but the ones that do will have the
problem consistently un
Due to the inherent instability of using FileFile on a Linux extended
file system, I am trying to set up Apache::SessionX to use
MysqlMysql. I seem to have it all set up except for the following
message during make test:
** 0.533149s
SessionManager not supported by MysqlMysql
Is this some
title "Base : Level 0". Is there anything I can do to make
the Execute isa in the base.epl actually include the
title.epl in the requested directory?
Change the [! Execute({isa => 'title.epl'}); !] in base.epl to
[- Execute({isa => 'title.epl'}); -]
, because the search path is not set when
Does anybody know what could make Embperl stop processing a page? I
have a page that is being processed by Embperl::Object - i know
because my template is being applied - but at the bottom of the
requested page I have some output of fields in $udat. These
statements are being passed direc
I want to set up a method accessed from the request object
that will allow me the option to create a page title based on
the path to the page. What I was thinking was:
In your page you say
[! Execute ({isa => 'title.epl'}) !]
In your title.epl you say
[! Execute ({isa => '../title.epl'}) !]
I want to set up a method accessed from the request object that will allow me the option to create a page title based on the path to the page. What I was thinking was:/base.epl[! sub title { print OUT "Company"; } !][- $req = shift -][- $req->title() -]/title.epl[! sub title { print OUT " "; } !]/
Can somebody post an example of displaying a POD file within an
Embperl::Object page. When I just do
[- Execute{ inputfile => 'test.pod', syntax =>'POD'}) -]
I get the XML. Can someone show me how to translate this via XSLT?
I'm not very familiar with XML processing, so I am hoping Embpe
I'm having some problems setting Embperl_Object_Fallback correctly.
What I want to do is allow "virtual urls". I want to
purposely link to urls that do not exist. These urls would
logically reside below a directory called /catalog. The
Embperl fallback file inside /catalog would parse the
remain
Does the Embperl Object App have a destructor? Can I define a
counterpart to init() that gets called after my pages execute?
-Derrick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
I'm having some problems setting Embperl_Object_Fallback correctly.
What I want to do is allow "virtual urls". I want to purposely link
to urls that do not exist. These urls would logically reside below a
directory called /catalog. The Embperl fallback file inside /catalog
would parse t
On Apr 25, 2005, at 11:54 PM, Ben Kim wrote:
[$ if ($background eq 1) $][$ else
$][$ endif $]
[- $background = !$background -]
I had a simlar problem when I upgraded from 1.3 to 2.0.
You should honor the table structure first and fit conditions or loops
around it. I.
Greetings, All!
I apparently have some sort of control statement nesting problem in my
code, but I can't seem to find it. Perhaps a few extra sets of eyes
can help...
This segment is supposed to loop through the result set of a database
query and output the results in a table, highlighting the
If the after the function call is missing embperl loops and prints the output of the function infinite which causes the browser to run into a timeout, because apache never finishes the request.
How is this a severe bug? If I forget the terminating condition in a for loop in C my program will loo
I've got a Mac OS X 10.2 server loaded with Apache 2.0.52, mod_perl
2.0rc4, Perl 5.8.6, Embperl 2.0rc2 - All installed fresh by hand (no
factory installations)
At rather irregular intervals my apache children will segfault during a
request. The result for the user is browser specific - anything
On Jan 11, 2005, at 3:48 PM, Ryan C. Spaulding wrote:
Hi,
I am currently running:
Embperl-2.0rc2-1
httpd-2.0.46
on Redhat Enterprise AS 3.2-1
PerlSetEnv EMBPERL_SESSION_HANDLER_CLASS no
With Embperl2, you no longer need the PerlSetEnv. Try taking this out
and see if it takes care of the
Is it possible to use a different set of rules for form validation
depending on which of several submit buttons on the form were pressed?
I'm guessing no. It seems I have to have Form::Validate do the least
common denominator checking, then do any further processing server side
after the subm
On Jan 10, 2005, at 2:27 PM, RobertCZ wrote:
Derrick Spell wrote:
I have an array of hashes that I would like to store in %udat. First
of all, is this possible? Second, what is the correct syntax. I
have tried:
$udat{AoH} = @AoH;
but the array doesn't seem to be there when I try to ret
I have an array of hashes that I would like to store in %udat. First
of all, is this possible? Second, what is the correct syntax. I have
tried:
$udat{AoH} = @AoH;
but the array doesn't seem to be there when I try to retrieve it.
Thanks,
-Derrick
-
eanup
_ap_remove_module
_ap_rflush
_ap_rputc
_ap_rwrite
_ap_send_http_header
_ap_setup_client_block
_ap_should_client_block
_ap_table_add
_ap_table_do
_ap_table_get
_ap_table_set
make: *** [test_dynamic] Trace/BPT trap
Derrick Spell
Webmaster / Programmer
Suran Systems
aps
there is a different technique involved with getting Embperl::Object
running on a Mac?
Thanks,
Derrick Spell
Webmaster / Programmer
Suran Systems, Inc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Is there a way in perl to detect a users screen resolution. I want to
execute one of two epl files based on the screen resolution. I know I
can do this with Javascript, but I don't think there is anyway to get
the variable from the javascript to the emperl script.
Derrick Spell
Webm
Is there a way in perl to detect a users screen resolution? I want to
execute one of two epl files based on the screen resolution. I know I
can do this with Javascript, but I don't think there is anyway to get
the variable from the javascript to the emperl script.
Derrick Spell
Webm
Does anybody have a clue on this? It would appear that my base.epl is never being executed because the requested file is not found. I've tried tweaking around to get it to work, but to no avail. If I comment out the Embperl handlers, then everything works, so I know my DirectoryIndex directive i
I just had this same error not three days ago on my Redhat 9.0
installation. Here's the remedy:
Replace line 1605 in test.pl with the following two lines:
my @cnt = split/(?:\\n)+/;
$cnt -= @cnt;
Apparently there is an issue with new line characters in the log files
on RedHat. Gerald sent me
Embperl::Object does not seem to be recognizing my directory index.html
files. I have the DirectoryIndex directive set for the VirtualHost,
but going to www.mydomain.com gives a 404 Not found. Same thing with
www.mydomain.com/products and so on...
Is there something I need to set to tell em
difficulty finding it. Anyway it's working now so I'm moving on!
Thanks guys,
-Derrick
On Apr 21, 2004, at 12:39 PM, Beau E. Cox wrote:
On Wednesday 21 April 2004 05:15 am, Derrick Spell wrote:
Now I'm having problems with my configuration setup. I put:
PerlModule Embperl immediately
Now I'm having problems with my configuration setup. I put:
PerlModule Embperl immediately after I loaded mod_perl. However, by
the time the config file gets down to my VirtualHost, it fails because
it doesn't recognize the directives EMBPERL_APPNAME or
EMBPERL_OBJECT_BASE. I've already trie
log,
for
which reason the number of error lines is different then make test
expects.
Could please try if the following patch fixes the problem:
test.pl line 1605
-$cnt-- ;
+my @cnt = split /(?:\\n)+/ ;
+$cnt -= @cnt ;
Gerald
Derrick Spell wrote:
Here it is...
make[1]
I can't get the make test to run correctly. I get the following error:
Testing mod_perl mode...
#0 ascii... ok
#1 pure.htm...ok
#2 nooutput.htm...ok
#3 nooutput.htm...ok
#4 plain.htm... ok
#5 plain.htm... ok
#6
Disregard...I got the latest version of Embperl (2.0b11) and it fixed
the problem
On Apr 18, 2004, at 3:42 PM, Derrick Spell wrote:
I'm having trouble installing Embperl 2. I have Apache 2.0.49 and
mod_perl installed. Apache was built with the standard Apache layout
(i.e. everythi
I'm having trouble installing Embperl 2. I have Apache 2.0.49 and
mod_perl installed. Apache was built with the standard Apache layout
(i.e. everything is under /usr/local/apache2). When I run perl
Makefile.PL and choose mod_perl support I am prompted for the apache
source. I provide:
/us
38 matches
Mail list logo