Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Matt S Trout
On Sat, May 26, 2007 at 10:58:09AM -0700, Peter Michaux wrote: Hi All, I'm new to Perl and Catalyst. I thought I'd give first (before the onslaught of Catalyst questions;-)). I wrote a new version of JavaScript::Minifier and since you are web folks I thought some might find it userful. Get

Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Peter Michaux
On 5/26/07, Matt S Trout [EMAIL PROTECTED] wrote: On Sat, May 26, 2007 at 10:58:09AM -0700, Peter Michaux wrote: Hi All, I'm new to Perl and Catalyst. I thought I'd give first (before the onslaught of Catalyst questions;-)). I wrote a new version of JavaScript::Minifier and since you are

Re: [Catalyst] Duplicate session ids

2007-05-26 Thread Perrin Harkins
On 5/26/07, Bill Moseley [EMAIL PROTECTED] wrote: Perhaps an easier way to show the problem with duplicate created sessions would help. Do you mean duplicate or multiple? The session ID generation code in Catalyst::Plugin::Session does look like it could generate duplicates to me, but that

Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Peter Michaux
Hi Nilson, Thanks for the feedback. On 5/26/07, Nilson Santos Figueiredo Junior [EMAIL PROTECTED] wrote: On 5/26/07, Peter Michaux [EMAIL PROTECTED] wrote: I'm new to Perl and Catalyst. I thought I'd give first (before the onslaught of Catalyst questions;-)). I wrote a new version of

Re: [Catalyst] Duplicate session ids

2007-05-26 Thread Perrin Harkins
On 5/26/07, Jonathan Rockway [EMAIL PROTECTED] wrote: Please keep in mind that by rare, he means that you would have to generate 2317195645184714165087019331424 sessions per second for 100 years in order to have a 50% chance of colliding with an existing session. Or you could have it

Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Nilson Santos Figueiredo Junior
On 5/26/07, Peter Michaux [EMAIL PROTECTED] wrote: Thanks for the suggestions. I just want to keep a little utility module like this plain Perl without any dependencies. Just because I think Perl if funny looking doesn't affect whether or not I'll be using it. With my first Perl adventure I did

Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Nilson Santos Figueiredo Junior
On 5/26/07, Nilson Santos Figueiredo Junior [EMAIL PROTECTED] wrote: Perl 6 will take care of making that: obj.property Oops, missed the dollar sign, it's: $obj.property -Nilson Santos F. Jr. ___ List: Catalyst@lists.rawmode.org Listinfo:

Re: [Catalyst] Duplicate session ids

2007-05-26 Thread mla
mla wrote: Bill Moseley wrote: On Sat, May 26, 2007 at 04:08:48PM -0400, Perrin Harkins wrote: On 5/26/07, Bill Moseley [EMAIL PROTECTED] wrote: Perhaps an easier way to show the problem with duplicate created sessions would help. Do you mean duplicate or multiple? The session ID generation

Re: [Catalyst] Duplicate session ids

2007-05-26 Thread Bill Moseley
On Sat, May 26, 2007 at 03:00:31PM -0700, mla wrote: The problem is that the finalize() process calls the Catalyst::Plugin::Session-finalize_session before finalize_cookies() is called. And finalize_session() calls $c-_clear_session_instance_data after saving. So by the time your

Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Matt S Trout
On Sat, May 26, 2007 at 01:04:19PM -0700, Peter Michaux wrote: On 5/26/07, Matt S Trout [EMAIL PROTECTED] wrote: On Sat, May 26, 2007 at 10:58:09AM -0700, Peter Michaux wrote: Hi All, I'm new to Perl and Catalyst. I thought I'd give first (before the onslaught of Catalyst questions;-)).

Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Peter Michaux
On 5/26/07, Matt S Trout [EMAIL PROTECTED] wrote: On Sat, May 26, 2007 at 01:04:19PM -0700, Peter Michaux wrote: On 5/26/07, Matt S Trout [EMAIL PROTECTED] wrote: On Sat, May 26, 2007 at 10:58:09AM -0700, Peter Michaux wrote: Hi All, I'm new to Perl and Catalyst. I thought I'd give first

Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Jonathan Rockway
On Saturday 26 May 2007 05:01:21 pm Peter Michaux wrote: I forgot to do export instead of a fresh checkout. Ok. I'll get that next time. To prepare a tarball of your CPAN module for CPAN release, try running make dist. That will prevent inclusion of working-copy cruft (like Makefile,

Re: [Catalyst] JavaScript::Minifier new version

2007-05-26 Thread Peter Michaux
Hi Jonathan, On 5/26/07, Jonathan Rockway [EMAIL PROTECTED] wrote: To prepare a tarball of your CPAN module for CPAN release, try running make dist. That will prevent inclusion of working-copy cruft (like Makefile, pm_to_blib, .svn, etc.). You can also run make disttest to test your

[Catalyst] Re: JavaScript::Minifier new version

2007-05-26 Thread A. Pagaltzis
* Peter Michaux [EMAIL PROTECTED] [2007-05-27 05:30]: Now why didn't the camel book tell me that? :) It doesn’t go much into the community aspect of the language, the tooling, and all that. _Intermediate Perl_ dips into it at the end, but I don’t know that I’d call it comprehensive. However,