I don't know if it'll solve all your problems, but this is definitely wrong:
> my @articles = $c->request->params->{article_id};
> ...
> foreach my $article ( @articles ) {
You're assigning an arrayref to the first item in @articles.
Do this instead:
my $articles = $c->reques
http://cpansearch.perl.org/~jrobinson/DBIx-Class-0.08009/lib/DBIx/Class/Ordered.pm#Unique_Constraints
might be applying to you, and if not, Ordered might help you.
- andreas
On 31. jan.. 2008, at 02.35, Jay Varner wrote:
In short, I'm new to Catalyst and a near intermediate Perl programmer.
I
In short, I'm new to Catalyst and a near intermediate Perl programmer.
I've converted (and vastly improved) my app from CGI::Application to
Catalyst within an amount of time that made me feel like I wasted
those months I spent prior to using Catalyst. However, the past few
days I have been struggli
On Wed, 30 Jan 2008, Jonathan Rockway wrote:
* On Wed, Jan 30 2008, Dave Rolsky wrote:
Yes, unfortunately it's never been freaking fixed, which is why it's
come up 129387 times (at least). I did submit a patch to Simon Wistow
for Module::Pluggable in September. It made Module::Pluggable ignore
Good write up semi related to the topic. Discusses JavaScript packers
and their performance impact as well as security implications. Using
some packers may cause false positives on your websites by many security
solutions.
http://www.secureworks.com/research/threats/thepacker
Personally I think t
Just giving my recommendation for what in my opinion is an ESSENTIAL
tool for any web developer or even power user Firebug for Firefox
https://addons.mozilla.org/en-US/firefox/addon/1843 . Best overall tool
I have found. Lets you debug JavaScript, inspect elements and their dom
properties, lets you
* On Wed, Jan 30 2008, Dave Rolsky wrote:
> Yes, unfortunately it's never been freaking fixed, which is why it's
> come up 129387 times (at least). I did submit a patch to Simon Wistow
> for Module::Pluggable in September. It made Module::Pluggable ignore
> editor junk files by default, though it d
On Wed, 30 Jan 2008, Jonathan Rockway wrote:
I have traced this down to the fact that my text editor (TextMate)
likes to leave hidden files around with similar names as those being
edited. For example the above error says something about ._MyAppDB
where this a file named MyApp/lib/MyAppDB.pm AND
* On Wed, Jan 30 2008, Rajeev Cyrus wrote:
> Greetings.
>
> I am trying to get started with catalyst and am running into slightly
> annoying problem.
>
> I am working though Catalyst::Manual::Tutorial and when it comes time
> to start the web-server I get this error:
>
> Malformed class Name MyApp:
Greetings.
I am trying to get started with catalyst and am running into slightly
annoying problem.
I am working though Catalyst::Manual::Tutorial and when it comes time
to start the web-server I get this error:
Malformed class Name MyApp::Model::._MyAppDB at /usr/local/perl5.8.3/
lib/sit
Jason Kohles wrote:
On Jan 30, 2008, at 10:23 AM, Roderick A. Anderson wrote:
Ian Docherty wrote:
I have moved (back) to using the built in Catalyst server for testing
purposes.
It is frequently (but not always) taking 20 seconds or so to display
a page in my browser
even though the timings
* On Wed, Jan 30 2008, Ian Docherty wrote:
> My bad. Heard and understood. (by the way who is RMS?)
Google. It.
Regards,
Jonathan Rockway
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searcha
Matt S Trout wrote:
On Wed, Jan 30, 2008 at 10:41:35AM +, Ian Docherty wrote:
Ash Berlin wrote:
On 30 Jan 2008, at 09:51, Andrew Payne wrote:
On Jan 30, 2008 9:14 AM, Ian Docherty <[EMAIL PROTECTED]> wrote:
It is frequently (but not always) taking 20 seconds or so
Jason Kohles wrote:
On Jan 30, 2008, at 10:23 AM, Roderick A. Anderson wrote:
Ian Docherty wrote:
I have moved (back) to using the built in Catalyst server for
testing purposes.
It is frequently (but not always) taking 20 seconds or so to display
a page in my browser
even though the timings
On Wed, Jan 30, 2008 at 10:41:35AM +, Ian Docherty wrote:
> Ash Berlin wrote:
> >
> >On 30 Jan 2008, at 09:51, Andrew Payne wrote:
> >
> >>On Jan 30, 2008 9:14 AM, Ian Docherty <[EMAIL PROTECTED]> wrote:
> >>>It is frequently (but not always) taking 20 seconds or so to display a
> >>>page in my
Hi Ian
>doing a 'host' command on an IP address works instantly and the contents of
the /etc/resolv.conf file
>look to be correct.
>
>Could it be a problem with specific IP addresses rather than with the
nameservers? (I can't cause
>a problem manually with the IP addresses I know the Catalyst app
On Jan 30, 2008, at 10:23 AM, Roderick A. Anderson wrote:
Ian Docherty wrote:
I have moved (back) to using the built in Catalyst server for
testing purposes.
It is frequently (but not always) taking 20 seconds or so to
display a page in my browser
even though the timings reported by the Cat
Ian Docherty wrote:
I have moved (back) to using the built in Catalyst server for testing
purposes.
It is frequently (but not always) taking 20 seconds or so to display a
page in my browser
even though the timings reported by the Catalyst server are about 0.2
sec. so I know that
it is not th
Peter Edwards wrote:
On Jan 30, 2008 9:14 AM, Ian Docherty <[EMAIL PROTECTED]> wrote:
It is frequently (but not always) taking 20 seconds or so to display a
page in my browser
Andrew wrote:
The only times I've had this happen, it's been DNS issues -- in my
case, dhcpd putting a
>> On Jan 30, 2008 9:14 AM, Ian Docherty <[EMAIL PROTECTED]> wrote:
>>> It is frequently (but not always) taking 20 seconds or so to display a
>>> page in my browser
>>
>>Andrew wrote:
>> The only times I've had this happen, it's been DNS issues -- in my
>> case, dhcpd putting a duff entry in resol
Ash Berlin wrote:
On 30 Jan 2008, at 09:51, Andrew Payne wrote:
On Jan 30, 2008 9:14 AM, Ian Docherty <[EMAIL PROTECTED]> wrote:
It is frequently (but not always) taking 20 seconds or so to display a
page in my browser
The only times I've had this happen, it's been DNS issues -- in my
case,
I third DNS issues, the timing of your first mail and your second
mail were out of whack.
On 30 Jan 2008, at 21:23, Ash Berlin wrote:
On 30 Jan 2008, at 09:51, Andrew Payne wrote:
On Jan 30, 2008 9:14 AM, Ian Docherty <[EMAIL PROTECTED]>
wrote:
It is frequently (but not always) taking 20
Andrew Payne ha scritto:
On Jan 30, 2008 9:14 AM, Ian Docherty <[EMAIL PROTECTED]> wrote:
It is frequently (but not always) taking 20 seconds or so to display a
page in my browser
The only times I've had this happen, it's been DNS issues -- in my
case, dhcpd putting a duff entry in resolv.conf
On 30 Jan 2008, at 09:51, Andrew Payne wrote:
On Jan 30, 2008 9:14 AM, Ian Docherty <[EMAIL PROTECTED]>
wrote:
It is frequently (but not always) taking 20 seconds or so to
display a
page in my browser
The only times I've had this happen, it's been DNS issues -- in my
case, dhcpd putting a
On Jan 30, 2008 9:14 AM, Ian Docherty <[EMAIL PROTECTED]> wrote:
> It is frequently (but not always) taking 20 seconds or so to display a
> page in my browser
The only times I've had this happen, it's been DNS issues -- in my
case, dhcpd putting a duff entry in resolv.conf
YMMV, but worth checkin
Further information on this.
If I make a request to a page served by apache on this server via wget,
the response is very quick,
typically less than a second during which wget displays the 'HTTP
request sent, awaiting response'.
If I make a request to a page served by the Catalyst server, wge
On Tue, Jan 29, 2008 at 06:29:50PM -0500, Len Jaffe wrote:
> Matt Trout wrote:
>
> > I foresee index and default going the fuck away for 5.80 unless you're in
> > compat mode.
> >
>
> Why is that?
For the reasons already discussed at length up-thread.
If any of it needs clarifying, ask a more
I have moved (back) to using the built in Catalyst server for testing
purposes.
It is frequently (but not always) taking 20 seconds or so to display a
page in my browser
even though the timings reported by the Catalyst server are about 0.2
sec. so I know that
it is not the Catalyst app that i
On Jan 30, 2008 9:26 AM, dreel <[EMAIL PROTECTED]> wrote:
> HEllo! I' trying to cleaner for cached page as shown in
> http://dev.catalyst.perl.org/wiki/SolvedIssues#si.20
> "Exempting specific pages from cacheing."
>
> I've create MyApp.yml:
> ...
> page_cache:
>expires: 60
>set_http_header
HEllo! I' trying to cleaner for cached page as shown in
http://dev.catalyst.perl.org/wiki/SolvedIssues#si.20
"Exempting specific pages from cacheing."
I've create MyApp.yml:
...
page_cache:
expires: 60
set_http_headers: 1
auto_cache:
- (?!.*/(debug|expire)\z).*
# cache everything b
30 matches
Mail list logo