On Sep 7, 2006, at 4:14 PM, Nate Wiger wrote:
> Dylan Vanderhoof wrote:
>>
>> First question, is it possible to deep-copy a structure using TT?
>
> Check Storable's dclone, or search CPAN for "clone". Or, use this for
> simple structures:
>
> # Anon copies of arrays/hashes
> # Based on de
My apologies. I haven't made the time yet to fix my code to use an
ActionClass. And it doesn't look like I'll have a chance to work on
things again until this weekend at the earliest.
In the mean time, you might consider checking out the
Jifty::Plugin::REST::Dispatcher in the svn repository
Hi folks,
I am an avid user of Catalyst::View::Mason for some time now and
finally got around to fixed one of the few things that annoyed me
with this view class.
For those of you, who are not familiar with CVM: a major drawback
when using it is that you can only import stashed arguments from
com
Not sure why I didn't think of that, but no dice I'm afraid. TT quoted
the backslash, but not the tick.
Ended up with this:
Who%5C's
You did kinda set me on the right path though, it sounds like what I
really need is an unquoted backslash. Just not sure how to convince TT
to do that.
-Dylan
* Dylan Vanderhoof <[EMAIL PROTECTED]> [2006-09-07 22:50]:
> If I use [% args.title.replace( '\'', '%27' ) %], then the
> error goes away, but I get exactly that in the params of the
> new window, and I'd really like it unquoted when it hits
> Catalyst on the new window.
>
> Any suggestions for ho
Dylan Vanderhoof wrote:
>
> First question, is it possible to deep-copy a structure using TT?
Check Storable's dclone, or search CPAN for "clone". Or, use this for
simple structures:
# Anon copies of arrays/hashes
# Based on deep_copy example by merlyn
# http://www.stonehenge.com/me
This might not be the best list to ask on, but I'm subscribed, and
hopefully somebody will know the answers. =)
First question, is it possible to deep-copy a structure using TT? I
have a place where I'm taking a hashref from the stash, passing it as
args to the src of an img tag, and then changi
John Napiorkowski wrote:
> Ah, I see.
>
> I was able to get what I wanted via:
>
> $c->uri_for( $c->controller->action_for('list'),
> $c->request->captures );
>
> It's isn't quite as nice since I'm trying to write
> something generic for a pager view and I want to avoid
> as much possible hard c
Ah, I see.
I was able to get what I wanted via:
$c->uri_for( $c->controller->action_for('list'),
$c->request->captures );
It's isn't quite as nice since I'm trying to write
something generic for a pager view and I want to avoid
as much possible hard coded stuff from the controller.
After look
John Napiorkowski wrote:
> Some debug info on this.
>
> In my action I have:
>
> my @actions = @{$c->action->chain};
>
> my $previous = $#actions-1;
> my $previous_action = $actions[$previous];
>
> $c->log->dumper($previous_action);
>
> $c->log->dumper($c->uri_for($previous_action,
I'm not trying to make something as magical as
InstantCRUD, but I'd like to add some RESTful matching
and convienence to Catalyst actions. So I'd like to
be able to match on various HTTP method types and
preparse XML type bodies by various modules (XML::Atom
if it's an atom feed, XML::Simple if it
I dug around a little but can't find what's causing it (I'm not good
enough with Cat's internals). I'm guessing it's related to a regular
express applied to the paths not being \Q'd or something, somewhere.
URI::, or in the ::Dispatch space, beats me.
Having a "+" in URIs messes up the subse
12 matches
Mail list logo