it years ago, pre-catalyst, from
another Cat-list person: Mark Blythe.
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
How about system($cmd ) ?
If the job can handle it, I tend to agree with the job-queue aproach. This can
provide other forward gains like being able to distribute the work over
multiple systems.
---
Rodney Broom
___
List: Catalyst
From: Jonathan Rockway [EMAIL PROTECTED]
system($cmd );
I 'system(nohup ... /tmp/file )'
Please, no scalar system() calls in a web application. Thanks.
How come?
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
Listinfo: http
Ah, injection. Yes, you're completely right. My meaning in $cmd was to say,
whatever your command is
Personally, I tend to only only interpret input, as apposed to using it
directly. ie;
$cmd_to_run = $allowed_commands{$input_cmd_menu_item}
...but now I'm OT. ;)
---
Rodney Broom
under Catalyst.
My guess is that no such document yet exists, and that it would be a
back-compat nightmare to state a limited set of what CDBI/DBIx features things
like plugins are allowed to use.
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
From: Matt S Trout [EMAIL PROTECTED]
Where are the tests? :)
Hmm, good point. My test was to add debugging and see that load was always
happening, even when Class::Inspector-loaded($class) reported true.
---
Rodney Broom
___
List: Catalyst
way?
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/
From: Yuval Kogman [EMAIL PROTECTED]
On Sat, Aug 12, 2006 at 14:03:51 -0700, Rodney Broom wrote:
OK, now you've lost me. Is your point that the loaded modules I
don't need don't hurt my performance in any way?}
They do. My point is that you seem to be investing a
disproportionate amount
The reason for -u diffs...
Aha, -u. New patches atached.
---
Rodney Broom
catalyst_pm.patch
Description: Binary data
catalyst_utils_pm.patch
Description: Binary data
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman
cat-pack-reloading.patch
For me it looked like this:
$ ls
Catalyst-Runtime-5.7001
$ patch -Np0 cat-pack-reloading.patch
patching file Catalyst-Runtime-5.7001/lib/Catalyst/Utils.pm
patching file Catalyst-Runtime-5.7001/lib/Catalyst.pm
$
---
Rodney Broom
cat-pack-reloading.patch
From: Jonathan Rockway [EMAIL PROTECTED]
Another thing to watch out for :) is 80 (or 78) column lines.
Is this a functional thing, or stylistic? I'm not seeing anything in the manual
related to width.
---
Rodney Broom
___
List: Catalyst
Disliking the fact that require() doesn't call my import(), I'm trying to
figure out why Catalyst (and so many other things) use require() over use(). I
have to think there's a good reason that just isn't occuring to me.
---
Rodney Broom
___
List
From: Rodney Broom [EMAIL PROTECTED]
From: Christopher H. Laco [EMAIL PROTECTED]
...but doesn't Apache actually load happen twice at
startup...once for the config parse, once for the real start?
http://perl.apache.org/docs/1.0/guide/config.html#Apache_Restarts_Twice_On_Start
Good
From: Yuval Kogman [EMAIL PROTECTED]
Since Catalyst usually uses OO modules, which don't do imports
anyway, and it usually loads them on behalf of other code, calling
import is not appropriate.
OK, I'll take that argument.
---
Rodney Broom
From: Rodney Broom [EMAIL PROTECTED]
From: Yuval Kogman [EMAIL PROTECTED]
Where is it being required()'d?
Catalyst::Model::DBIC::Schema::new()
$schema_class-require
Why not just 'use' this at the top of your model code?
Initially, because that isn't how the C::M::DBIC::Schema docs
compile at server start. Also, apparently MyApp is getting require'd instead of
use'd since my import() never gets called.
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable
Location /static
SetHandler default-handler
/Location
/VirtualHost
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com
that it might be an
interesting test.
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http
than the shell?
ie; one perl might have current versions of things while the other one doesn't.
I do not get this error using the myapp_server.pl server.
Clearly myapp_server.pl is working much differently than other environments (at
least apache).
---
Rodney Broom
From: Jonathan Rockway [EMAIL PROTECTED]
However, what should the filtering behavior be?
From perlmod(1):
All Perl module files have the extension .pm.
The use operator assumes this...
I suggest that only .pm files be included.
---
Rodney Broom
...
# Log in the newly created user
$c-login($user-login, $user-password);
}
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
between our controller and views like this for
reasons like there potentially being more than one view object created during a
response.
---
Rodney Broom
___
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
22 matches
Mail list logo