On Sat, 19 Oct 2002, Nico Erfurth wrote:
Is there any reason (besides of lazyness ;) ) that HTML::Template does
no complete HTML-Escaping?
I mean especialy the german umlaute, like üäö.. (uuml; auml; ouml;)?
The kind of HTML escaping the HTML::Template is designed to address the
problem of
with the --case-sensitive option.
+
+=item --case-sensitive
+
+Using this option causes --match and --exclude to work
+case-sensitively. Defaults to off.
+
+=item --version
+
+Print the dbi_prof version number and exit.
+
+=head1 AUTHOR
+
+Sam Tregar [EMAIL PROTECTED]
+
+=head1 COPYRIGHT
On Tue, 15 Oct 2002, Henri Asseily wrote:
In the case of db profiling, I tell it to overload DBI::st::execute
with a profiling method that does the following:
The DBI::Profile interface actually profiles every DBI method, connect(),
prepare(), execute(), fetch() and everything in-between. As
On Thu, 10 Oct 2002, Brian McCain wrote:
The scalar he's putting in there is actually an array reference, which is
totally kosher. I've gotten this error many times, and it has always been as
a result of selecting data from a database into a variable (either a true
scalar or an arrayref) and
On Wed, 9 Oct 2002, Doc wrote:
HTML::Template::param() : attempt to set parameter 'rows' with a scalar
- parameter is not a TMPL_VAR! at dbview.pl line 22
This means that HTML::Template didn't see:
tmpl_var name=row
in your template file. If you'd rather HTML::Template was quiet about
On Wed, 9 Oct 2002, Tim Bunce wrote:
I'd guess it's related to the connect.
Try it with DBI_PROFILE=6.
Here's what I get:
DBI::Profile: 0.00 seconds 0.18% (10 method calls) prof_test.pl
'' =
'FETCH' =
0.51s / 2 = 0.26s avg (first 0.10s, min 0.10s, max
This script called prof_test.pl:
use DBI;
my $dbh = DBI-connect(dbi:ExampleP:, '', '', { });
my $sth = $dbh-prepare(SELECT * FROM ?);
$sth-execute(.);
$sth-finish();
Produces this output with DBI_PROFILE set to 2:
$ DBI_PROFILE=2 perl prof_test.pl
DBI::Profile: 0.001105 seconds
On Sun, 6 Oct 2002, Tim Bunce wrote:
Quick thought, add an option to abstract the SQL using code like
this (copied from an app that does something vaguely similar):
Sounds good to me. This also makes me think of the SQL pretty-printer I
wrote for the Bricolage DBI profiler. I might take a
Here is my proposed interface for DBI::ProfileDumper. Any and all
comments welcome. I would like to begin implementation on Monday, if
possible.
-sam
=head1 NAME
DBI::ProfileDumper - profile DBI usage and output data to a file
=head1 SYNOPSIS
use DBI;
# profile with default path (2)
On 4 Oct 2002, html-template-users e-mails from neil prockter wrote:
I'm using global_vars but it does seem to work unless I referece the variable
in their outer level scope. By this I mean if I have loop A and loop B within
loop A the variable from conext A only appear in cointext B if they
Attached is a new test suite for DBI::Profile. I tried to cover all the
syntax found in the DBI::Profile documentation. This revealed what I
believe to be a bug. Calling:
dbi_profile($dbh, Hi, mom, fetchhash_bang, $t1, $t1 + 1);
Results in the warning:
Profile attribute isn't a hash
On Tue, 1 Oct 2002, Tim Bunce wrote:
- Build the sub-class in such a way that it does not accumulate
profiling data in-memory without limit. Devel::DProf and
Devel::Profiler accomplish this by doing buffered writes of raw deltas
into the data file and only assembling the
The DBI::Profile docs say that these are all equivalent:
$h-{Profile} = {};
$h-{Profile} = DBI::Profile;
$h-{Profile} = 2/DBI::Profile;
$h-{Profile} = 2;
However, the first fails to setup the default Path selection of 2 and the
second one causes an error:
Argument DBI::Profile isn't
Hello all. I'm thinking about creating a DBI::Profile subclass to enable
profiling of database queries in large Apache/mod_perl applications. I
built a similar system for the Bricolage project (http://bricolage.cc),
which uses a DBI wrapper class. Now I'd like to create a module that
offers
On Mon, 23 Sep 2002, Cory Trese wrote:
HTML::Template Users:
Anyone considered a way to generate HTML::Templates with XSLT/XML?
I cannot create the TMPL_VAR NAME=FOO construct, it is invalid.
I don't understand what you mean. Can't XSLT generate non-XML output?
HTML::Template's syntax is
On Tue, 24 Sep 2002, William R Ward wrote:
Previously it was OK to have a missing include file. I just upgreaded
to a new version of HTML::Template, and now my templates don't work
anymore. I relied heavily on the behavior of missing include files
not generating errors. Now I have to go
. You can get it using CPAN.pm or
go to:
http://www.cpan.org/authors/id/S/SA/SAMTREGAR/
CONTACT INFO
This module was written by Sam Tregar ([EMAIL PROTECTED]). You can
join the HTML::Template mailing-list by visiting:
http://lists.sourceforge.net/lists/listinfo/html-template-users
/
CONTACT INFO
This module was written by Sam Tregar ([EMAIL PROTECTED]). You can
join the HTML::Template mailing-list by visiting:
http://lists.sourceforge.net/lists/listinfo/html-template-users
---
This sf.net email is sponsored by:ThinkGeek
-template.sourceforge.net
The module is also available on CPAN. You can get it using
CPAN.pm or go to:
http://www.cpan.org/authors/id/S/SA/SAMTREGAR/
CONTACT INFO
This module was written by Sam Tregar ([EMAIL PROTECTED]). You can
join the HTML::Template mailing-list by visiting:
http
. You can get it using CPAN.pm or
go to:
http://www.cpan.org/authors/id/S/SA/SAMTREGAR/
CONTACT INFO
This module was written by Sam Tregar ([EMAIL PROTECTED]). You can
join the HTML::Template mailing-list by visiting:
http://lists.sourceforge.net/lists/listinfo/html-template-users
/
CONTACT INFO
This module was written by Sam Tregar ([EMAIL PROTECTED]). You can
join the HTML::Template mailing-list by visiting:
http://lists.sourceforge.net/lists/listinfo/html-template-users
On Tue, 27 Aug 2002, Philip S Tellis wrote:
On Tue, 27 Aug 2002, Sam Tregar wrote:
Maybe this one will even support the full template syntax! (hint,
hint)
well, apart from die_on_bad_params, global_vars and cache stuff, I'm
pretty certain that HTML.Template.java supports everything
On Mon, 19 Aug 2002, Pierre Vaudrey wrote:
with the following starnge error (The Title is displayed but not the
vignette.gif file)
[Mon Aug 19 07:22:24 2002] [error] Missing right curly or square bracket
at /Library/WebServer/Documents/perl/vignette.gif line 1, at end of line
syntax error
On Thu, 25 Jul 2002, Yunliang Yu wrote:
Process with standard HTML::Template 1.52s
Process with my patched version 1.56s
Process with HTML::Template::Expr2.39s
= patched version has 2.4% overhead, ::Expr 57% overhead
Did you enable any
On Tue, 23 Jul 2002, WC -Sx- Jones wrote:
Back in RH 6.2 I would hazard that the segfault was more related to Perl
being set to uselargefiles and Apache NOT being set. This only became
visible when one tried to build mod_perl as a DSO. Building as STATIC caused
Apache to be rebuilt using
On 22 Jul 2002, David Dyer-Bennet wrote:
So, specifically for the Linux environment, what are the downsides of
running mod_perl as a DSO? (Pointers to the FM so I can R it would be
fine.)
Segmentation faults, pure and simple. The Apache/mod_perl that ships with
Redhat, and I assume other
On Wed, 17 Jul 2002, Flemming Mahler Larsen wrote:
We're currently developing a fairly large extranet and using a lot of
HTML::Template's. Due to this we switched to using the shared_cache, and
I've gotten curious as to which templates is loaded when.
Frankly, I advise against this. The
On Tue, 16 Jul 2002, Fran Fabrizio wrote:
Given a TMPL_LOOP variable foo, is there a way to find the length of the
array from within the template? Like TMPL_VAR EXPR=scalar(foo) ?
The perldoc doesn't mention scalar support, but I didn't know if
another HTML::Template trick might exist.
On Mon, 15 Jul 2002, C. Church wrote:
SAFEFREEPV(array);
return newSVpvn((char *)array, i);
Danger, Will Robinson! You just freed a pointer and then tried to use it
in a function call. Instead, you need to do:
SV *ret;
...
ret = newSVpvn((char *)array, i);
On Fri, 12 Jul 2002, C. Church wrote:
Any ideas as to what I'm doing wrong?
I think the problem is that by specifying a return type of char * you're
telling Inline::C that you'll be returning a standard C-style
NULL-terminated string. But your data is binary and probably has embedded
NULL
On Fri, 28 Jun 2002, Glenn Morgan wrote:
I am using HTML::Template with PageKit and having a problem with
tmpl_var substitutions in javascript quoted strings. See below:
button onclick=javascript: js_str='tmpl_var
name=tmpl_str;/button
If tmpl_str=It's a wonderful life
Then my resultant
On Mon, 8 Jul 2002, Philip S Tellis wrote:
Sam, I think this needs an escape=quote parameter. What do you think.
Would only be a couple of lines added.
Mmm, maybe. Or a way to add new escapes at runtime.
-sam
---
This sf.net email is
On Wed, 3 Jul 2002, Kapoor, Nishikant X wrote:
Here is the test case. Not sure if I am missing something. Would
appreciate some feedback.
I am using H::T version 2.5
This will work in HTML::Template 2.6. Currently HTML_TEMPLATE_ROOT and
path don't work together.
-sam
Hello all. As previously announced, the HTML::Template mailing-list at
VM.com is being shut down. A new mailing-list at SourceForge.net has been
setup and all subscribers to old list as of two weeks ago are subscribed
to the new list. If you joined us recently please go sign up at:
On Wed, 3 Jul 2002, Cees Hek wrote:
But this would not work if you have caching turned on. It would only
work the first time you called it. Any time you call that template
afterwards, you will always get the first translation you did.
That's true. I missed that part of your patch.
On Thu, 4 Jul 2002, Cees Hek wrote:
I'm open to anything that will solve my problem. Exposing the cache_key
generation would be a step in the right direction for my needs. I have
stripped down my initial patch to only consolodate the cache function
into using a common function to get the
On 3 Jul 2002, simran wrote:
$template = new HTML::Template(
filename = $template_filename,
die_on_bad_params = 0,
loop_context_vars = 1,
filter= {
sub= $language_filter,
format = 'scalar',
On Wed, 26 Jun 2002, Peter Scott wrote:
Hello. I recently had a good reason to want to say
TMPL_VAR NAME=x.TMPL_VAR NAME=foo
Regrettably, this does not work (Syntax error in TMPL_* tag).
This won't be possible, as it would require a multi-pass parser. Instead,
just do it on the
On Wed, 26 Jun 2002, Peter Scott wrote:
Ah, thought so. I'm sorry, but I'm looking at something where the set
of possibilities is virtually the entire namespace. And then there's
the loop issue. Looking at the source now to see if I can figure out
any kind of patch or subclassing.
I just
On Sun, 16 Jun 2002, Eric Frazier wrote:
I have been looking into HTML::Template which is a lot simper than Embed
perl or the template tool kit. I am wondering if anyone has experence with
using both of these with Registry.pm
I do! Back when I worked for Jesse Erlbaum (the author of
HTML::Template::JIT - a just-in-time compiler for HTML::Template
CHANGES
- Added support for case_sensitive option to new().
- Added new print_to_stdout option to new() to have output
printed to STDOUT as it is generated.
- Added support for ESCAPE. Template syntax support is now
On 5 Jun 2002, Tugrul Galatali wrote:
I eagerly anticipate a new version. I currently have it patched with
the _quote_string problem. That patch also seems to have fixed a bug
where it was recompiling a template with a $ in it the first time it is
used after it is compiled in my
On Tue, 11 Jun 2002, Jost Krieger wrote:
I think that's the problem. dprofpp doesn't write anything after dying here.
Do I need a special version of dprofpp?
No, Devel::Profiler is supposed to work with the version of dprofpp that
comes with Perl. The test that's failing tests whether
On Tue, 11 Jun 2002, Hoehle, Joerg-Cyril wrote:
o Why do you use TMPL_xyz istead of !-- TMPL_xyz --?
Did this prove to be easier for the web-designers?
Both are supported. I find the former easier to type but some people like
the latter. With filter you can easily support any tag syntax you
On Mon, 10 Jun 2002, Bill Moseley wrote:
You are correct to worry. You should use flock() to prevent your log file
from becoming corrupted. See perldoc -f flock() for more details.
Maybe it's a matter of volume. Or size of string written to the log. But
I don't flock, and I keep the log
On Mon, 10 Jun 2002, Tom Brown wrote:
?? AFAIK, Files opened in append mode, and written to without buffering,
should _not_ get corrupted in any manner that flock would prevent.
(basically small writes should be atomic.)
Right, and does Perl write with buffering when you call print()? Yes,
On Tue, 11 Jun 2002, Tom Brown wrote:
Right, and does Perl write with buffering when you call print()? Yes, it
does!
huh? That's what $| is all about, and $|++ is a pretty common line of
code.
A pretty common line of code that wasn't in the example shown! And that
only unbuffers the
improvement.
I send this patch to Sam Tregar weeks ago, and i never answered, but maybe
someone here thinks that it's worth to have a look at it, because AFAIK
many ppl use mod_perl+HTML::Template (i do it myself) ;)
Sorry about that! I must have let it fall through the cracks. Did you
send
On Tue, 11 Jun 2002, Nico Erfurth wrote:
I thought about this, and i'm wondering how much ppl realy use it in
this way. IMHO it should be a Don't try this, it will break, instead
introducing this copy-workaround. But i think i will use this patch
only for my private-version, because i don't
On 11 Jun 2002, Josts Smokehouse wrote:
t/08fork..Bad profile: $hz=1000; at /usr/local/perl/bin/dprofpp line 646,
fh line 14.
# Failed test
(/net/ibm0176/disc1/home/kriegjcb/.cpanplus/build/Devel-Profiler-0.04/blib/lib/Devel/Profiler/Test.pm
at line 65)
# got: ''
#
The Bricolage development team is proud to announce the release of
Bricolage version 1.3.2. This is a development release with new
features as well as numerous bug fixes. Summary of major changes (see
the Changes file in the distribution for details):
* New installation system tested on
The Bricolage development team is proud to announce the release of
Bricolage version 1.3.2. This is a development release with new
features as well as numerous bug fixes. Summary of major changes (see
the Changes file in the distribution for details):
* New installation system tested on
On Tue, 11 Jun 2002, Sergey Rusakov wrote:
open(ERRORLOG, '/var/log/my_log');
print ERRORLOG some text\n;
close ERRORLOG;
This bit of code runs in every apache child.
I worry abount concurent access to this log file under heavy apache load. Is
there any problems on my way?
You are
On Mon, 10 Jun 2002, Sam Tregar wrote:
You are correct to worry. You should use flock() to prevent your log file
from becoming corrupted. See perldoc -f flock() for more details.
Gah, these fingers... That should be perldoc -f flock.
-sam
On Fri, 7 Jun 2002, Tony Bowden wrote:
$template-param(long_date = $long_date,
short_date = $short_date);
In the template:
The long date: tmpl_var long_date br
The short date: tmpl_var short_date
Can I vote for yick on this?
Sure. That's what's
On Thu, 6 Jun 2002, Mark Mertel wrote:
subject says it all. except, i would like to be able to have it ignore
extra parameters which get set but do not exist in the template file.
You can use the same parameter twice, but only the second one will take
effect:
$template-param(foo = 'bar');
On Thu, 6 Jun 2002, Mark Mertel wrote:
i need to correct that - the question refers to TMPL_LOOP. it apparently
can only be used once. it loks like the loop gets executed but the data
does not get copied nor does it display.
I have no idea what you mean by that. You can have as many
On Thu, 6 Jun 2002, Perrin Harkins wrote:
For posterity, and possible inclusion in the next rev of the templating
tutorial, how would you recommend people handle this sort of situation
without using HTML::Template::Expr?
Suppose you have a model object for a concert which includes a date.
On Wed, 5 Jun 2002, Andy Wardley wrote:
In TT, you would usually pre-declare a particular format in a config
file, pre-processed templates, or some other global style document.
e.g.
[% USE money = format('%.02f') %]
In your main page templates you would do something like this:
[%
On Thu, 6 Jun 2002, Perrin Harkins wrote:
For posterity, and possible inclusion in the next rev of the templating
tutorial, how would you recommend people handle this sort of situation
without using HTML::Template::Expr?
Suppose you have a model object for a concert which includes a date.
On Wed, 5 Jun 2002, Andy Wardley wrote:
In TT, you would usually pre-declare a particular format in a config
file, pre-processed templates, or some other global style document.
e.g.
[% USE money = format('%.02f') %]
In your main page templates you would do something like this:
[%
On Sat, 1 Jun 2002, Barry Hoggard wrote:
I don't think the standard HTML::Template has support for formatting
numbers, dates, etc.
And thank the sweet lord it doesn't! HTML::Template is a do one thing
and do it well module. If you want routines for formatting numbers,
dates, etc. then CPAN
Hey guys. I've been playing with mmm-mode
(http://mmm-mode.sourceforge.net/) and mason-mode in Emacs lately.
mmm-mode provides a way to have two major modes active in the same buffer
in different regions. This is used by mason-mode to allow html-mode and
cperl-mode to work in the same buffer
On Fri, 24 May 2002, Brett Sanger wrote:
I've missed the beginning of this discussion, so just tell me to shut
up if I'm off track here.
Yeah, you're off track. We're not talking about setup()...
If you have the run-mode name in a variable you can do:
my $run_mode = foo;
return
On Wed, 22 May 2002, Robert Creager wrote:
Well, my $Config{bin} is /usr/bin, and dprofpp does not exist on my
system (other than in the 5.6.1 build directory, which isn't installed
yet). So, either I missed installing an RPM (from Mandrake) which
contains dprofpp, or Mandrake does not ship
On Wed, 22 May 2002, Cory Trese wrote:
Scenario:
1.template loaded in 'cgiapp_ini( )' method, some parameters passed into it
2.template will be used in all of the children run modes -- it would also
be convenient if they could fill in some additional parameters.
Thus, the logic
On 21 May 2002, Andreas Marcel Riechert wrote:
On Tue, 21 May 2002, Andreas Marcel Riechert wrote:
t/04crashok 2/3plan() doesn't understand skip at
/usr/local/lib/perl5/site_perl/5.6.1/Test/More.pm line 189
Interesting... What version of Test::More do you have? Maybe I
On Tue, 21 May 2002, Andreas Marcel Riechert wrote:
t/04crashok 2/3plan() doesn't understand skip at
/usr/local/lib/perl5/site_perl/5.6.1/Test/More.pm line 189
Interesting... What version of Test::More do you have? Maybe I need to
require a specific version in PREREQ_PM. Also,
On Tue, 14 May 2002, Sam Tregar wrote:
Can anyone throw me a line? Is it possible that no one in all of p5p-dom
understands how Devel::DProf works?
Hey man. I did some checking and I managed to boil down your test case to
this tasty morsel:
$ ./perl -Ilib -d:DProf -e 'require t/test.pl
On Mon, 13 May 2002, Jeffrey Friedl wrote:
This code:
while(1) {
eval(if (0) { code::xxx(); });
delete ::-{code::};
}
has a fairly big memory leak. However, if you remove the 'delete',
it doesn't. In both Perl 5.6 and bleedperl.
Wild guess: compiling a usage of
Here's a patch that sets TMPL_PATH using the HTML::Template path option
rather than prepending it using a string. This removes the restriction
that all paths must end in $ENV{IFS}. Also, it allows the TMPL_PATH
setting to coexist with other potential search paths for templates
(i.e.
On Sun, 5 May 2002, Sisyphus wrote:
In short, I can save 250 milliseconds by halving the size of one (and only
one) of the two C arrays - and it doesn't matter which array I shorten. But
if I shorten *both* arrays, I get no saving in execution time. Doesn't make
sense to me.
Does shortening
On Sat, 27 Apr 2002, migu wrote:
incpath='D:\Archivos de programa\Microsoft Visual Studio\VC98\Include'
libpth=' D:\Perl\lib\CORE D:\Archivos de programa\Microsoft Visual
Studio\VC98\lib'
Trying using paths without spaces. I wouldn't be surprised if that was a
problem.
-sam
On Fri, 19 Apr 2002, Andrew Ho wrote:
DWThis looks pretty good to me. Can anyone suggest how I might
DWprogrammtically send a PDF to a printer once I've generated it in
DWPerl/mod_perl?
Use either Ghostscript or Adobe Acrobat Reader to convert to Postscript,
then print in your normal
On Wed, 17 Apr 2002, Paul Lindner wrote:
I think that this may be a problem with the use of Perl sections.
I believe your original post had something like this:
Perl
use Apache::DProf
use Apache::DB
Apache::DB-init();
/Perl
Nope. That was Perrin Harkins, but I tried it too!
On Wed, 17 Apr 2002, Perrin Harkins wrote:
Benjamin Elbirt wrote:
Well, lets assume that I were to go with
the shared memory option anyway... what would the pitfalls be / concerns?
As mentioned before, you'd probably be better off with MLDBM::Sync or
Cache::Cache. You can try
Hello all. I'm trying to use Apache::DProf but all I get is seg faults.
I put these lines in my httpd.conf:
PerlModule Apache::DB
PerlModule Apache::DProf
Then I start the server, and it looks ok:
[Tue Apr 16 17:22:12 2002] [notice] Apache/1.3.20 (Unix) mod_perl/1.25
mod_ssl/2.8.4
On 16 Apr 2002, Garth Winter Webb wrote:
Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used
Apache::DProf w/o any problems by including only the one PerlModule
line. Since they both want to use perl debugging hooks, I'm guessing
that Apache::DProf is getting crashed up
On Tue, 16 Apr 2002, Sam Tregar wrote:
On 16 Apr 2002, Garth Winter Webb wrote:
Sam, try getting rid of the 'PerlModule Apache::DB' line. I've used
Apache::DProf w/o any problems by including only the one PerlModule
line. Since they both want to use perl debugging hooks, I'm guessing
On Tue, 16 Apr 2002, Perrin Harkins wrote:
Strange, that works for me. I do it like this:
Perl
use Apache::DProf;
use Apache::DB;
Apache::DB-init;
/Perl
That works, but this doesn't:
Perl
use Apache::DB;
use Apache::DProf;
Apache::DB-init;
/Perl
The Bricolage development team is proud to announce the release of
Bricolage version 1.3.1. This is a development release with new
features as well as numerous bug fixes. Summary of major changes (see
the Changes file in the distribution for details):
* SOAP interface fully implemented
The Bricolage development team is proud to announce the release of
Bricolage version 1.3.1. This is a development release with new
features as well as numerous bug fixes. Summary of major changes (see
the Changes file in the distribution for details):
* SOAP interface fully implemented
On Fri, 29 Mar 2002, Inline Reader wrote:
Mystery solved: _insert is already defined, in libgen.so (at least), but
helpfully gcc is silent about any conflicts, and renders it a no-op!
Grrr...
Don't blame gcc, blame your linker. gcc will only complain if you include
a header with a
On Fri, 29 Mar 2002, Marco Kleefman wrote:
Thanx for the suggestions! I checked the different 'out.make' files and this
is the error that occurs every time:
Make: Unknown flag argument w. Stop.
I am not really familiar with make... unfortunately. Any suggestions?
Yes, install GNU Make
On Fri, 29 Mar 2002, Marco Kleefman wrote:
= make -v ==
GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
Well, that certainly looks good to me.
Each out.make has only one line:
Make: Unknown flag argument w. Stop.
And that is very strange. Are you sure that your
Premise: stringifying a reference is often not what I meant and if I
could arrange to receive a warning when it happened I'd catch a lot of
bugs sooner with less effort.
To elaborate, while working on a heavily OO system it's common to be
working with mostly reference variables and a few
On Fri, 22 Mar 2002, Daniel Packer wrote:
I ran into a little limitation in HTML::Pager and created a patch, which if
Sam feel's is useful, I hope can be included in a future version of
HTML::Pager.
Wow - looks great! Thanks for putting in the time to do a doc patch too.
I'll put out 0.04
On Tue, 19 Mar 2002, Cory Trese wrote:
Would anyone else find a use for HTML::Template only comments? In
ColdFusion, a secondary form of comments is available for
'developer-eyes-only' that allows somewhat more sensitive data to be stored
in the template files (granted 'more sensitive' is a
On Sun, 17 Mar 2002, Matthew Harrison wrote:
i have been told that i can use HTML::Template to change the background
color of text boxes and the like in forms. is this true and
You can use CSS to do all sorts of ugly things with text-boxes. You can
use HTML::Template to output CSS. So, yes,
On 15 Mar 2002, Jens Luedicke wrote:
The following code compiles, but doesn't work:
Try compiling it with perl -MInline=INFO,FORCE,NOCLEAN script.pl.
You'll see a list of functions bound to Perl. My guess is that these two
won't be in that list:
extern void gtk_widget_show(GtkWidget
On 16 Mar 2002, Jens Luedicke wrote:
Try compiling it with perl -MInline=INFO,FORCE,NOCLEAN script.pl.
You'll see a list of functions bound to Perl. My guess is that these two
won't be in that list:
No function gets bound.
Well, that's your problem!
You'll need to provide a typemap
On Wed, 13 Mar 2002, Jean-Marc Pennel wrote:
I suggest the addition of a new virtual method call in the run sub.
The finish virtual method is called at the end of each run mode,
but before setting up HTTP headers.
I use this method to set a session cookie after each run mode.
Maybe we
On Thu, 14 Mar 2002, Philip S Tellis wrote:
On Thu, 14 Mar 2002, Phil Oertel wrote:
Thank you. And before I go on, I'd like to ask. Sam, is it okay to
discus h-t-j issues here, or should we just stick to template issues.
It's fine to talk about the Java version here. As long as it
On Wed, 13 Mar 2002, James Michael DuPont wrote:
On that note, what about SOAP for a different
transport and WSDL for defining interfaces? the WSDL
can spec out the ins and out of functions.
Yurgh. WSDL is probably the most verbose function definition language
I've ever seen. It's really
On Wed, 6 Mar 2002, Joel Gwynn wrote:
sub thisform {
my $self = shift;
my $dbh = $self-param('dbh');
my $q = $self-query;
...
I know it's not a huge pain to do this, but is there a better way to
have each sub automatically know about $dbh, $q, etc. Is this a good
idea?
On Tue, 12 Mar 2002, Bill Catlan wrote:
Idiom in question:
# Get run-mode from subref
$rm = $rm_param-($self);
Is there a word for this idiom in the object oriented programming world - where
an object calls a method on itself and passes a reference to itself to that
method? It seems
Hello all. I'm having trouble convincing Inline::C to bind to a function
with a parameter type of const gchar *. Here's my module file:
package Gnome::MIME;
use Inline C= 'DATA',
NAME = Gnome::MIME,
VERSION = 0.01,
LIBS =
Currently Inline::C cannot support a function declared thusly:
SV *named_func (...) {
}
Instead you have to declare at least one required param:
SV *named_func (SV *dummy, ...) {
}
This makes implementing a function that may take zero or any number of
parameters impossible, which is
On Sat, 9 Mar 2002, Philip S Tellis wrote:
To all those who are interested in helping with development or testing,
I've completed (at least I think I have) a sort of pre-alpha release of
a java version of HTML::Template.
Ooo, neat. I know a lot of people are interested in this.
Should be
On Thu, 7 Mar 2002, James Michael DuPont wrote:
Stallman said that exchange of complex data structures
over the net can also be seen as *one* program talking
to itself.
He's free to have that opinion. I think he would like to see copyright
law extended to cover cases like this. This is
401 - 500 of 778 matches
Mail list logo