I have a string I want to use as one argument to a controller. It's
user-sourced and occasionally has slashes in.
I use this as
$c-uri_for('/controller/action', 'string/with/slashes');
(done in TT, as it happens, but the results are the same)
I'd like that argument to be the first
2009/7/1 Russell Jurney russell.jur...@gmail.com:
I just created a simple trait for the Catalyst::Log that uses OS X's 'say'
utility to log error messages to audio, such that the computer will say them
to you. My eyes tire of reading through 100s of lines of debug output, so
now sometimes I
2009/6/29 Kieren Diment dim...@gmail.com:
So uncomment PerlSetEnv CATALYST_DEBUG=1 in you config when you want
debugging on.
Where did he say he'd commented it out?
I removed -Debug, and set $ENV{CATALYST_DEBUG} =1 using PerlSetEnv
CATALYST_DEBUG 1.
Malloy, try dumping $ENV{CATALYST_DEBUG}
2009/6/29 Christian Lackas christ...@lackas.net:
OK, as said before, I already had the feeling that it does not fit into
the model, however, there it would have been the most convenient.
As I say, you'll need a formatting function or functions to turn
dates-as-objects into dates in your page,
2009/6/25 Christian Lackas christ...@lackas.net:
I mean, you're going to have to retrieve each record per user anyway,
why not retrieve, convert, and stuff it into the per-user session?
I cannot store all these times in the session, since I have a few
million database entries that all have
2009/6/25 Moritz Onken on...@houseofdesign.de:
which stores the time of creation incl. time zone (of your server)
A time column typically stores a time without the timezone. If you
want to store the timezone you need a second column - otherwise you
declare the timezone in the column definition
Anyone know of a CGI script that forwards a request to a FastCGI server?
I'd like to deploy something under Catalyst on a shared machine, and
I'm not in control of the Apache configuration. It has CGI set up,
but no FastCGI or mod_perl, so I was thinking stopgap measures.
Cheers,
--
Ian.
2009/6/4 Tomas Doran bobtf...@bobtfish.net:
use constant {
THING_FOO = 0,
THING_BAR = 1,
};
As we steadily go offtopic, I thought use Readonly was preferred
over use constant nowadays? Not that I remember the arguments why.
Anyone else have an opinion here?
--
Ian.
2009/5/4 kakim...@tpg.com.au:
Kieren-
try running your server under the debugger i.e. script/myapp_server.pl
-d and hit control-c where the application stalls to see where in the
code it's stalling.
Hello, Kieren,
Good morning. Strangely I tried it and it seems to be acting right.
On 4 May 2009, at 09:19, Octavian Rasnita wrote:
I have started using fastcgi with a Catalyst app, using it as an external
server, but I've seen that it works very slow and many requests give a
timeout error and display a 500 error because of this.
This is a fairly standard sort of problem,
I tried it, but it gave the following error which I don't understand:
2009-05-04 20:04:04: (plugin.c.165) dlopen() failed for:
/usr/lib64/lighttpd/mod_fastcgi.so /usr/lib64/lighttpd/mod_fastcgi.so:
cannot open shared object file: No such file or directory
2009-05-04 20:04:04: (server.c.621)
People:
Top posting is bad.
Bottom posting is bad.
When quoting a previous message:
- Remove as much of the original message as you can. (And if the
message you send still has the mailing list footer quoted within it,
you're clearly not trying.)
- Put replies to points in the message
2009/4/28 Alexander Hartmaier alexander.hartma...@t-systems.at:
That paragraph is awesome!
I vote for including it!
Seconded. Although I've tweaked the wording slightly on the wiki,
mainly to remove the weasel word 'most'.
___
List:
2009/4/27 kakim...@tpg.com.au:
Hello, J. Shirley,
Thank you for your explaination. It made things much clearer and
confirmed a lotta things.
Akimoto-san,
people have been answering the questions that you've asked, but I
wanted to check up what it is that you're trying to do.
Tell me if I
2009/4/23 John Napiorkowski jjn1...@yahoo.com:
And in particular my first swing at something we can use as a press release
and send
to all the usual suspect (Slashdot, Digg, etc):
http://dev.catalystframework.org/wiki/releaseannouncements/58pressrelease
Doesn't work for me.
I'm coming from
2009/4/22 Marcus Ramberg mar...@nordaaker.com:
On Tue, Apr 21, 2009 at 11:33 PM, Ian Wells i...@cack.org.uk wrote:
Can you put something on the wiki as well please?
Happily, but the validation link I get by email doesn't work...
Can you be a bit more verbose?
With regards
Marcus Ramberg
2009/4/22 Kiffin Gish kiffin.g...@planet.nl:
Actually both People.pm and Address.pp were generated and can be found
in the directory: lib/AddressBook/Schema/AddressDB/Result/.
I thinks that's the problem.
Passing observation, that's the load_namespaces way that DBIx::Class
uses nowadays. The
2009/4/20 Matt S Trout dbix-cl...@trout.me.uk:
Depends if you're going to write the patch - I don't have any networks with
broken DNS to test on so I can't really do it ...
I wasn't aware I did either, but there you go.
I'll keep quiet and update to 5.8 instead, I think. Seems like the
easier
Can you put something on the wiki as well please?
Happily, but the validation link I get by email doesn't work...
--
Ian.
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive:
The 'use strict' and 'use warnings' lines need to be the first things
in a file for Critic to be happy. This isn't the case in a couple of
the script/ files when they're first generated by catalyst.pl.
Fine, Test::Critic isn't for everyone, but the change has no effect on
the non-Critic users.
20 matches
Mail list logo