[Catalyst] Argh! Trying to upgrade Catalyst -- getting "Can't use
string as a HASH ref..."
will.trillich at serensoft.com
Mon Apr 1 13:25:40 GMT 2013
Ah yes, crikey! wrong Makefile.PL!
Running Makefile.PL for Catalyst::Runtime griped only that "*
Test::WWW::Mechanize::Catalyst*" was out of date. We updated that via cpanm
so now Makefile.PL has no complaints...
Still "can't use string as a HASH ref" tho :( when we try to use the Cache
On Sun, Mar 31, 2013 at 11:55 PM, Tomas Doran <bobtfish at bobtfish.net> wrote:
> On 31 Mar 2013, at 19:58, will trillich <will.trillich at serensoft.com>
> > Hmm. I don't see anything out of line here...?
> > $ perl Makefile.PL
> > include /home/will/projects/perl-mvc/Waste/inc/Module/Install.pm
> > include inc/Module/Install/Metadata.pm
> > include inc/Module/Install/Base.pm
> > include inc/Module/Install/Makefile.pm
> > Cannot determine perl version info from lib/Waste/Web.pm
> > include inc/Module/Install/Catalyst.pm
> > include inc/Module/Install/Include.pm
> > include inc/File/Copy/Recursive.pm
> > *** Module::Install::Catalyst
> > Please run "make catalyst_par" to create the PAR package!
> > *** Module::Install::Catalyst finished.
> > include inc/Module/Install/Scripts.pm
> > include inc/Module/Install/AutoInstall.pm
> > include inc/Module/AutoInstall.pm
> > *** Module::AutoInstall version 1.04
> > *** Checking for Perl dependencies...
> > [Core Features]
> > - Test::More ...loaded.
> (0.98 >=3D 0.88)
> > - Catalyst::Runtime ...loaded.
> (5.90020 >=3D 5.80032)
> > - Catalyst::Plugin::ConfigLoader ...loaded.
> > - Catalyst::Plugin::Static::Simple ...loaded.
> > - Catalyst::Action::RenderView ...loaded.
> > - Moose ...loaded.
> > - namespace::autoclean ...loaded.
> > - Config::General ...loaded.
> > - Catalyst::Plugin::Session ...loaded.
> > - Catalyst::Plugin::Session::Store::DBIC ...loaded.
> > - Catalyst::Plugin::Session::State::Cookie ...loaded.
> > - Catalyst::Plugin::Authentication ...loaded.
> > - Catalyst::Plugin::Authentication::Credential::Password ...loaded. (0)
> > - Catalyst::Plugin::Authorization::Roles ...loaded.
> > - Catalyst::Plugin::Cache ...loaded.
> > - DBIx::Class::Cursor::Cached ...loaded.
> > *** Module::AutoInstall configuration finished.
> > include inc/Module/Install/WriteAll.pm
> > include inc/Module/Install/Win32.pm
> > include inc/Module/Install/Can.pm
> > include inc/Module/Install/Fetch.pm
> > Writing Makefile for Waste::Web
> > Writing MYMETA.yml and MYMETA.json
> > Writing META.yml
> That's your app's Makefile.PL
> I asked for the Makefile.PL for Catalyst::Runtime (as that includes the
> 'you must upgrade this plugin for this version of Catalyst' warnings.
> > And our app class is same as I posted in the original message of this
> thread -- very standard:
> > package Waste::Web;
> > use Moose;
> > use namespace::autoclean;
> > use Catalyst::Runtime 5.80;
> > use Catalyst qw/
> > ConfigLoader
> > Static::Simple
> > Session
> > Session::Store::DBIC
> > Session::State::Cookie
> > Authentication
> > Authentication::Credential::Password
> > Authorization::Roles
> > Cache
> > /;
> > use Waste::Lib::CSV;
> > extends 'Catalyst';
> > our $VERSION =3D '1.10';
> > __PACKAGE__->config(
> > name =3D> 'Waste::Web',
> > # Disable deprecated behavior needed by old applications
> > disable_component_resolution_regex_fallback =3D> 1,
> > );
> > # Start the application
> > __PACKAGE__->setup();
> Yeah, I'd strongly guess it's one of the plugins :)
> > Which cpanm module needs an upgrade? And is there a way for me to figure
> that out for next time so I don't have to bother the list with it? :)
> Hopefully the one running the -Runtime Makefile.PL will tell you :)
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
Will Trillich :: 812.454.6431
=93Grading takes away all the fun from failing. And a huge part of education
is about failure.=94 -- Shimon Schocken
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst