On Sat, Jan 7, 2017 at 9:55 PM, Bill Moseley wrote:
>
> # Let it be set to undef
> if (my $wanted = shift) {
> $encoding = Encode::find_encoding($wanted)
> or Carp::croak( qq/Unknown encoding '$wanted'/ );
>
logging works again and log
lines are not mangled.
But, I'm not sure we should apply a layer to STDERR like that. For
example, I log to stderr with JSON and that is already encoded.
Is there a compelling reason to binmode STDERR there?
--
Bill Moseley
mose...@hank.org
s.
We would like to get to a CI pipeline that generates a Docker container and
use that for all non-dev deployments. You never know when you will need to
deploy a million containers <https://www.hashicorp.com/c1m.html>...
--
Bill Moseley
mose...@hank.org
__
ment out "with 'MooseX::Emulate::Class::Accessor::Fast';" and it behaves
as expected. Also comment out "init_arg" and Moose will complain about
the string not begin an Int.
--
Bill Moseley
mose...@hank.org
__
But, what's the issue with calling $c->config( foo => 123 ) at runtime?
Or even $c->config( \%new_config )?
Note that wrapper only applies to calling config on the app class, and does
not apply to Model/View/Controllers.
Is there some other issues I'm missing?
BTW -- I wonder about the Catalyst behavior here.
On Sat, Aug 1, 2015 at 10:36 PM, Bill Moseley wrote:
>
>
> On Sat, Aug 1, 2015 at 6:31 AM, Stefan wrote:
>
>> Hi,
>>
>> if a URL parameter contains a Unicode character (e.g.
>> www.example.com/?param=%D6
but most likely the browser will turn it back into ?param=Ölsoße
If you really want to say you are using utf8 constant strings (i.e. "use
utf8;"):
$ perl -le 'use URI::Escape; use Encode; use utf8; use Encode; print
uri_escape( encode_utf8( "Ölsoße" ) )'
%C3%96lso%C
file optional when I have a bit of time.
On Fri, Jun 5, 2015 at 4:38 PM, Lasse Makholm wrote:
>
>
> On Fri, Jun 5, 2015 at 8:26 PM, Bill Moseley wrote:
>
>> Hi,
>>
>> Our app handles a lot of uploads, often quite large uploads.As we
>> know, uploads (and
the temp file fails?
BTW -- Plack::Handler::Apache2 sets psgi.input to the Apache request object
$r -- it would be handy to preserve this object for later use.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.s
me},
filename =>
*$c->_handle_unicode_decoding($upload->{filename})*,
);
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
S
= 16
Everything is encoded. The flag tells Perl that its internal
representation is encoded as utf8 so knows to work with it as utf8
characters (e.g. length() is length of chars, matching works on chars, etc.)
$ perl -le 'use Encode; my $chars = decode( 'latin1', &
mplement this?
How would that change if you wanted more than just "fire-and-forget"? For
example, if you wanted to provide some kind of retry interval for failed
callbacks. The external server might be temporarily down for maintenance.
Thanks,
--
> form data back to the form like so:
>
> $c->stash( formdata => $c->request->params );
>
Have you looked at HTML::FormHandler? I would assume it addresses this.
I use something similar and the concept is that you have a field object
that knows how to render either
a function that does the above, but also clones and sets
the time zone and locale based on the user's preferences:
[% user_time( foo.event_start, '_DT_TIMESTAMP_WITH_ZONE' ) | html %]
--
Bill Moseley
mose...@hank.org
___
List: Cataly
On Fri, Dec 20, 2013 at 8:34 PM, neil.lunn wrote:
>
>
My article today actually (http://www.catalystframework.org/calendar/2013/21),
> even though I'm actually talking here about the above case.
>
Just a note on the Advent article.
Thanks for writing that up. It's a well-written article
d I only use setlocale( &LC_NUMERIC, $locale ), for example? That
is, using can setlocale( &LC_ALL, $locale ) cause problems with my existing
character handling?
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo:
constructor
(as opposed to {}, an empty hashref).
But maybe there was a use case where having the extra config (in addition
to config in "args") passed to the constructor was necessary.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lis
ut a new version?
>
> https://rt.cpan.org/Public/Bug/Display.html?id=67078
> https://rt.cpan.org/Public/Bug/Display.html?id=78663
>
>
>
> --
> Bill Moseley
> mose...@hank.org
>
>
> ___
> List: Catalyst@lists.s
omplaining.
I think there's a suggested patch in one of these. Is there someone that
can review and maybe push out a new version?
https://rt.cpan.org/Public/Bug/Display.html?id=67078
https://rt.cpan.org/Public/Bug/Display.html?id=78663
--
Bill Moseley
mose...@hank.org
_
On Tue, Nov 19, 2013 at 10:32 AM, Bill Moseley wrote:
> Anyone aware of a good, portable way in Perl to encode the filename in a
> Content-Disposition header? I would like to support UTF8 filenames, but
> support in browsers is unclear (if not changing).
>
> Is this complexity som
; $io->seek( -4, 2 );
> $io->read( my $buf, 4);
>
> my $uncompressed_size = unpack( 'V', $buf );
>
This indeed does work in my tests. Thanks for all the help, Neil. I
really appreciate the time you spent on this.
--
Bill Moseley
mose...@hank.org
___
'Comment' => undef,
'OsName' => 'Unix',
'FingerprintLength' => 2,
'HeaderCRCFlag' => 0,
'OsID' => 3,
'TrailerLength' => 8,
'Name' =&
On Wed, Nov 20, 2013 at 7:37 AM, Bill Moseley wrote:
>
> On Wed, Nov 20, 2013 at 4:08 AM, neil.lunn wrote:
>
>> my $length = $body->getHeaderInfo
>
>
> Well, that's helpful. Thanks. Completely missed that in the docs.
>
Well, except for the a
On Wed, Nov 20, 2013 at 4:08 AM, neil.lunn wrote:
> my $length = $body->getHeaderInfo
Well, that's helpful. Thanks. Completely missed that in the docs.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Lis
perl-5.14.2/lib/site_perl/5.14.2/Catalyst.pm
line 1948, line 1000.
[warn] Serving filehandle without a content-length
This is some text that can be compressed.
This is some text that can be compressed.
This is some text that can be compressed.
This is some text that can be compressed.
This is som
, or
something wrong with how IO::Uncompress::Gunzip is working?
The uncompressed file could be quite large, which is why I'd prefer to not
uncompress it in memory. I suppose I could uncompress to /tmp and then
serve the file from there.
Of course, not using Catalyst to serve large files is p
where it's easy to get wrong (I can see many
different approaches in our own code).
http://greenbytes.de/tech/tc2231/
http://stackoverflow.com/questions/93551/how-to-encode-the-filename-parameter-of-content-disposition-header-in-http
Thanks,
--
Bill Moseley
mose..
EPT_CONTEXT that included:
$replication_object->callback( sub { $self->callback_method( $c ) } );
I'm not thrilled by $c getting passed here, but the callback need quite a
bit from $c.
The "fix" that seems to work is simply this:
weaken( $c );
$replication_object-
On Fri, Oct 25, 2013 at 6:51 AM, Bill Moseley wrote:
>
> [ERROR] "Caught exception in engine "Error in tempfile() using
> /tmp/XX: Have exceeded the maximum number of attempts (1000) to
> open temp file/dir
>
I don't really see how this can be a Catalyst i
n
indicator of not knowing what one is doing. The framework's benefit is so
you don't screw things up.
>
> John
>
>
> On Thursday, October 31, 2013 7:03 PM, Bill Moseley
> wrote:
>
>
>
> On Thu, Oct 31, 2013 at 2:34 PM, John Napiorkowski wrote:
>
I was thinking of doing something like:
$self->location( URI->new( $location )->as_string );
But with perhaps a bit more error handling.
>
> johnn
>
>
>On Thursday, October 31, 2013 11:33 AM, Bill Moseley
> wrote:
>
> On Thu, Oct 31, 2013 at 12:51 A
tii-rest 16 Oct 28 13:36 NWwxOhwhRW
-rw--- 1 tii-rest tii-rest 16 Oct 28 13:35 Ll1Ze0TNPL
>
> regarding the tmp file thing, wow I have no idea, but I hope you find out
> and report it to us!
>
> Johnn
>
>
>On Friday, October 25, 2013 8:53 AM, Bill M
On Thu, Oct 31, 2013 at 12:51 AM, Aristotle Pagaltzis wrote:
> CatalystX::RoleApplicator
Thanks. That was what I was looking for. Just missed it when looking.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: h
$self->location;
}
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev s
Another problem, and one I've
commented<https://rt.cpan.org/Public/Bug/Display.html?id=84004>on
before, is that HTTP::Body doesn't use File::Temp's unlink feature and
depends on Catalyst cleaning up. This results in orphaned files left on
t
be easier to take one approach or the other.
>
It does seem like that. Deciding to go with the flow vs. doing it the
"right" way is the decision to be made. I like your suggestion to map it
to an Accept header -- best of both worlds.
--
Bill Moseley
mose...@hank.org
_
rent
value would change $req->uri dramatically.
>On Monday, October 21, 2013 10:00 AM, Bill Moseley
> wrote:
>
> =head2 $req->path
>
>
>
> Returns the path, i.e. the part of the URI after $req->base, for the
> current request.
>
>
> Pasted below is
my $location = $self->base->path;
$path =~ s/^(\Q$location\E)?//;
$path =~ s/^\///;
$self->_path($path);
return $path;
}
}
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http:
written
from a practical Rails programmer point of view instead of a REST purist
view. There's a lot in that e-book I don't really agree with (plural
nouns?), but the practical usage seems to be winning out. Hope it's not a
mistake in the long run.
--
Bill Moseley
mose..
Controller';
>
> sub start : ChainedParent
> PathPrefix CaptureArgs(0)
> {
> my ($self, $ctx) = @_;
> }
>
> 1;
>
> package Myapp::Web::Controller::API::2;
>
> use base 'Catalyst::Controller';
>
> sub start : ChainedParent
> PathPrefix CaptureArg
oning-only-version-the-representation-not-the-resource-itself?lq=1
- http://www.informit.com/articles/article.aspx?p=1566460
- http://stackoverflow.com/questions/972226/how-to-version-rest-uris
- and plenty more...
--
Bill Moseley
mose...@hank.org
_
tough one. Just seems like PUT /user should accept the same data
regardless of how it is serialized. And GET /user would get the user data
and then serialize that to JSON or whatever but it's the same data.
But, maybe you have a point.I would worry that someone assumes JSON and
adds that content type match and then wonder why later it's not working for
other request serializations.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
W - I practice I find it pretty handy to be able to specify/override
response encoding via a query param.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
rrect
> MIME header to pass for CSV that you want MS Excel to open.
>
http://www.ietf.org/rfc/rfc4180.txt, but how Windows decides how to open
files is something I'm not familiar with.
--
Bill Moseley
mose...@hank.org
___
List: Cat
Before we get a long utf8 discussion here:
On Tue, Jul 2, 2013 at 8:58 AM, Bill Moseley wrote:
>
> Personally, I think the correct approach is to only encode *character* data
> -- that is check to see if the utf8 flag is set before calling encode.
>
I say that with the caveat that
)
if ref(\$body) eq 'SCALAR';
Personally, I think the correct approach is to only encode *character* data
-- that is check to see if the utf8 flag is set before calling encode.
Maybe limit to the content types listed above, but throw an exception for
other content types where the bo
I don't think we
are using that so was a bit surprised by that requirement.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
tp://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
--
Bill Moseley
mose...@hank.org
___
curity issue if the earlier action
in a chain is used for access control.
What would the developers think of deprecating this behavior (for the few
that might actually be relying on this) and issue a warning if a config
option is not set that fixes th
On Thu, May 9, 2013 at 9:34 AM, Aristotle Pagaltzis wrote:
> * Bill Moseley [2013-05-09 15:30]:
> > What's the reasoning that chained actions continue to run after an
> > earlier exception?
>
> Seems like an accident of the design to me, borderline bug.
>
Agree
On Thu, May 9, 2013 at 8:31 AM, Bill Moseley wrote:
> Hi Bill,
>
>>
>> This is because you don't want Catalyst to die. Imagine you are running
>> a fastcgi server and you accidentally created an action which dies on
>> certain user input.
>>
>
>
On Thu, May 9, 2013 at 7:25 AM, Lukas Thiemeier
wrote:
> On 05/09/2013 03:25 PM, Bill Moseley wrote:
> > I have a feeling I asked this before, but cannot find the post.
> >
> > [info] Exception powered by Catalyst 5.90030
> >
> > What's the reasoning that ch
);
warn "in lastpart\n";
}
$ script/exception_test.pl /start/middle/lastpart
in start
in middle
*in lastpart*
[error] Caught exception in Exception::Controller::Root->middle "died in
middle"
--
Bill Moseley
mose...@hank.org
_
gt; > Use $c->req->uri->host to get the hostname of the server
> >
>
> Sorry, $c->req->uri->host is 'hostname', not a IP.
> I want to get IPv4 address like '127.0.0.1' even if I access the page
&g
e preference for
that request?
I would think it would be better to serve it statically (with caching
headers) and then serve any pre-request changes in the actual html
response. Serving up different javascript files with the same name could
lead to problems.
--
Bill Moseley
mose...@hank.org
___
ng "LimitRequestBody" but IIRC that only looks at the
Content-Length header. But, HTTP::Body does limit the body to what is
reported in the Content-Length header.
Starman buffers requests to /tmp (in an unlinked file) w/o any limit that I
could see in my limited tests.
On Thu, Ma
On Wed, Jan 13, 2010 at 6:53 AM, Bill Moseley wrote:
> HTTP::Body::Multipart creates temporary files for uploads. The temp files
> are created with File::Temp( UNLINK => 0 ).
>
Well, this is still broken.
Yes, since 2010 HTTP::Body has been updated to have a DESTROY where it
r
rride (merge with) the app's config.
Our config loads config.yml filrst, then it loads and merges any
mode-specific (i.e. qa, staging, production) config, then finally looks for
/etc/$app_name/config.yml.
Some day we will look more closely at centralized configuration tools --
Puppet and C
n the body -- that should
prevent double-encodings. And having a config option to disable is easy.
And if the plugin is found on the app issue a warning. It's possible
that someone has their own modified version of the plugin using the same
name.
--
Bill Moseley
mose...@hank.org
__
a that represents characters must be decoded on input.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive
it an all its dependencies are installed. So, that Makefile actually
comes in pretty handy.
(And since we use Dist::Zilla, releasing to our internal CPAN is just "dzil
release". So, that's pretty slick.)
We then build RPMs from these
lla::Plugins on
CPAN.
But the end result is still just a normal Perl module. All our modules
(Catalyst and others) use Dist::Zilla now.
I have a Dist::Zilla::Plugin::CatalystFiles that helps build the dist and
builds a custom Makefile.PL.
--
e code just now and saw a comment that included
this URL:
http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg02350.html
I guess I've thought about this before
>
>
>
> I wonder what percent of Catalyst apps make use of that plugin.
>
> Not sure, but I think the pla
it's something that
every app probably should to, but easy to ignore or get wrong.
I wonder what percent of Catalyst apps make use of that plugin.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.sc
and encode all text
responses.
This is fresh in my mind because last week had problems with two separate
encoding issues.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinf
nse when I ask my ws with
> FF or Chrome... ?
>
Do you mean adding "&content-type=application/json" to your GET request
query parameters in the browser?
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listi
over your resources -- workers
pull in work as they are free instead of stuffing work into web processes.
Scaling is then trivial as it's just more workers.
It may seem like more work up front to set up but will making things like
this much easer -- and s
On Tue, Feb 12, 2013 at 10:05 PM, Octavian Rasnita wrote:
> **
> *From:* Bill Moseley
>
> If you want to use DBIC in more apps, don't use Catalyst::Model::... but
> create a standalone module that can be used from more apps, even in CLI
> scripts.
> And access th
ht be done here, short of not storing the DBIC row
objects? I do want to end up with row objects after thawing, so they can
be used just as if I had done the query directly.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinf
Pre-Plack I had used this to determine if running under Apache/mod_perl.
if ( $c->engine->can( 'apache' ) ) { ... }
Is this the best, future-proof approach now?
During setup check $ENV{MOD_PERL}
and per request check if $c->req->env->{'psgi.input'}
isa
On Mon, Oct 29, 2012 at 3:45 AM, Will Crawford
wrote:
> On 19 October 2012 18:37, Bill Moseley wrote:
> > delete $c->stash->{foo};
>
> Is there a function / method called "foo" anywhere in scope?
>
I've ignored this for a while, but still seeing in the a
or will
$c->req->address return either v4 or a v6 address?
Anyone already in a dual-stack environment? Any other gotchas to consider?
I use $c->req->address to limit access -- for example to limit some actions
to our local LAN or for customers to limit access to our API via a
custo
On Tue, Dec 4, 2012 at 5:22 AM, Marc SCHAEFER wrote:
> Hi,
>
> for some time I write things like this in my templates:
>
>
>
I've always used href="[% c.uri_for( ... ) | html %]"
--
Bill Moseley
mose...@hank.org
_
s of secret +
timestamp.
That is, the server w/o the auth validates that the token is legitimate and
the SSL tells me it came from the client I gave it to.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://list
of each request
and then wrap the warn() and error() methods and set the MDC params in
those methods?
Monkey-patch (redefined) the warn() and error() log methods each request
with the current params?
Neither of those sound that great. Is there an a
at host:port and script path to use to build
correct URLs to your site?
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.co
ve.
>
>
> Where do these go?
>
>
>
> Also where do you put application global constants?
>
Not a clear line, but you have an app config for app-specific config. But,
I also have App::Constants that export constats which is useful for when
you need the constants outside of Catal
On Sat, Oct 27, 2012 at 9:34 PM, Larry Leszczynski wrote:
> Hi Bill -
>
> On Fri, Oct 19, 2012, at 11:37 AM, Bill Moseley wrote:
>
> > Use of uninitialized value in delete
> >
> > with a line number pointing to this line:
> >
> > delete $c->sta
On Thu, Oct 25, 2012 at 5:29 AM, Aaron Trevena wrote:
> On 24 October 2012 17:59, Bill Moseley wrote:
> > PerlBal (as in this old post:
> > http://lists.danga.com/pipermail/perlbal/2005-November/000138.html )
> can do
> > this as well.
> >
> > I wonder about
ne see why this might be a bad (or good) approach?
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lis
't really want to tie up the app with slow uploads.
I guess I should test, but I wonder if there's a limit on what Starman will
buffer -- I assume it's buffering in memory.
--
Bill Moseley
mose...@hank.org
___
List: Ca
eem to make it
happen:
$ perl -Mwarnings -Mstrict -Wle 'use warnings; use strict; my $x = {};
delete $x->{a}'
Is there something special about $c->stash that might trigger this in Perl?
Anyone else spot these in the logs.
This is on Perl 5.14.2 / Catalyst 5.90016 / mod_perl 2.0
kit). Need
to use the iframe trick on those browsers.
https://bugs.webkit.org/show_bug.cgi?id=23933
How close is this version of Catalyst for a release? Unfortunately, I
noticed this while preparing for an app release next week.
Thanks,
--
Bill Moseley
mose...@hank.org
__
;
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.
I saw in the logs was this:
$ fgrep Read error_log
Read error:
Read error:
Read error:
Read error:
followed immediately by a restart of the child process (testing with
Starman). So, that's something else I need to try and track down.
--
Bill Moseley
mose...@hank.org
___
that my AJAX request
can get updated upload stats?
Thanks,
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst
uild, test, release process less painful -- and less expensive. And
releases more frequent and less anxious.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Sear
}
> }
>
Isn't that what finalize already does?
I have a very old and out-dated plugin I use that wraps execute() and sets
__DIE__ and __WARN__ to catch those and uses Devel::StackTrace to add in a
stack trace. Then I use log4perl to format and direct the messages.
I also us
-core machines.
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site:
On Wed, Sep 26, 2012 at 1:15 AM, Manni Heumann wrote:
> Bill Moseley schrieb am 25.09.2012:
>
> > The app has a myapp.yml config which includes configuration for
> > creating an instance of a Model component -- and part of that Model's
> > config is a database dsn
s readonly -- otherwise I could just do
MyApp->model( 'MyModel' )->dns( $new_dsn );
What's a good, clean way of doing this? Or perhaps a better approach all
together?
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co
4 || INOC-DBA *3557* NOC
>> PGP KeyID = B38DB1BE
>>
>>
>> ___
>> List: Catalyst@lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive:
>> http://www.
ld go into "share"
in the distribution and then get installed as File::ShareDir expects (i.e.
have Catalyst::Utils::home() use dist_dir( $c->config->{name} ) ). But,
that's kind of a big change.
Anyone have thoughts on the that?
--
Bill Moseley
mose...@hank.org
On Fri, Sep 7, 2012 at 11:50 AM, Tomas Doran wrote:
>
> On 5 Sep 2012, at 21:48, Bill Moseley wrote:
> >
> > Currently I just manually apply the role directly in the existing
> controller, so not a huge issue, but would be handy if I could just add a
> role to the base c
is
known for:
https://www.facebook.com/video/video.php?v=10100259101684977&oid=9445547199&comments
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Se
Catalyst web app developer job posting:
http://jobs.perl.org/job/16350
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail
stinfo/catalyst
>> Searchable archive:
>> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
>> Dev site: http://dev.catalyst.perl.org/
>>
>>
>
> ___
> List: Catalyst@lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>
--
Bill Moseley
mose...@hank.org
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
ull changes:
>
> 5.90016 - 2012-08-16 15:35:00
> - prepare_parameters is no longer an attribute builder. It is now a
> method
> that calls the correct underlying functionality (Bill Moseley++)
> - Updated Makefile.PL to handle MacOXS tar
> - Fix uri_for to handle a stringifiable object
>
ent-Length: 24043
Content-Type: audio/mp4a-latm
Expires: Wed, 31 Dec 1969 23:59:59 GMT
Content-Disposition: attachment; filename*=UTF-8''trumpet.m4a
(Warnings are fatal): Parsing of undecoded UTF-32 at
/home/moseley/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Catal
Did this help?
On Sat, Aug 4, 2012 at 6:19 PM, Bill Moseley wrote:
> See attached.
>
> Let me know if you want something else.
>
> I'm mixed on of the clear should be private. I made it that way, but I
> wonder if there could be a use case to reset the parameters
1 - 100 of 475 matches
Mail list logo