Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Starman error

by nbezzala (Scribe)
on Mar 23, 2012 at 03:41 UTC ( #961144=perlquestion: print w/replies, xml ) Need Help??
nbezzala has asked for the wisdom of the Perl Monks concerning the following question:

info MyApp powered by Catalyst 5.90011
Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.10.1/Starman/ line 51.
2012/03/22-22:28:28 Starman::Server (type Net::Server::PreFork) starting! pid(2154)
Binding to TCP port 3000 on host *
Setting gid to "0 0 0"
Starman: Accepting connections at http://*:3000/

Can't use string ("3000") as a subroutine ref while "strict refs" in use at /usr/local/share/perl/5.10.1/Plack/ line 165.

Why am I getting this error on the server when I try to access the index page?

In my lib/MyApp/Script/, I have

package RegisterMeToWin::Script::Server; use Moose; use namespace::autoclean; extends 'CatalystX::Script::Server::Starman'; 1;
The command to bring up the server is,
$ perl script/ -d

Replies are listed 'Best First'.
Re: Starman error
by nbezzala (Scribe) on Mar 23, 2012 at 06:55 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://961144]
Approved by Corion
[shmem]: there are so many ways thinkable to fix that situation, some feasible and some not, that I'm unable to give good advice.
[Spenser]: I installed 5.22 with opkg. I can use it with cpan. I'm actually trying to install perl-DBD-mysql, but couldn't with it. So I went back to the factory version, 5.10.
[Spenser]: So, nevermind about CPAN. I give up on the downgraded angle. I'm back to fighting to install DBD.
[shmem]: please open a SoPW. At what point is the perl-DBD-mysql installation failing?
[shmem]: do you have the mysqlclient libs on that device, for instance?
[shmem]: and btw, your original questian is an XY Problem classic ;-)
[Spenser]: yes, I have mysql client libs installed.

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2018-03-17 12:48 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (224 votes). Check out past polls.