Skip to content

Commit

Permalink
fixed small bug in cpanify command
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Apr 16, 2012
1 parent 08ce0f3 commit ef8a510
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
This file documents the revision history for Perl extension Mojolicious.

2.83 2012-04-17
- Fixed small bug in cpanify command.

2.82 2012-04-16
- Deprecated relaxed placeholders "/(.foo)" in favor of "/#foo".
- Deprecated Mojolicious::Routes::Route->waypoint.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious.pm
Expand Up @@ -33,7 +33,7 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };

our $CODENAME = 'Leaf Fluttering In Wind';
our $VERSION = '2.82';
our $VERSION = '2.83';

# "These old doomsday devices are dangerously unstable.
# I'll rest easier not knowing where they are."
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojolicious/Command/cpanify.pm
Expand Up @@ -22,7 +22,7 @@ sub run {

# Options
local @ARGV = @_;
my ($password, $user) = '';
my $password = my $user = '';
GetOptions(
'p|password=s' => sub { $password = $_[1] },
'u|user=s' => sub { $user = $_[1] }
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/ioloop.t
Expand Up @@ -217,7 +217,7 @@ is $client_close, 1, 'client emitted close event once';

# Stream throttling
$port = Mojo::IOLoop->generate_port;
my ($client, $server, $client_after, $server_before, $server_after) = '';
my ($client, $server, $client_after, $server_before, $server_after);
Mojo::IOLoop->server(
{address => '127.0.0.1', port => $port} => sub {
my ($loop, $stream) = @_;
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/ioloop_tls.t
Expand Up @@ -42,7 +42,7 @@ use Mojo::IOLoop;
# Built-in certificate
my $loop = Mojo::IOLoop->new;
my $port = Mojo::IOLoop->generate_port;
my ($server, $client) = '';
my ($server, $client);
$loop->server(
{address => '127.0.0.1', port => $port, tls => 1} => sub {
my ($loop, $stream) = @_;
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/reactor_ev.t
Expand Up @@ -212,7 +212,7 @@ is ref Mojo::IOLoop->singleton->reactor, 'Mojo::Reactor::EV', 'right object';
ok !Mojo::IOLoop->is_running, 'loop is not running';
$port = Mojo::IOLoop->generate_port;
my ($server_err, $server_running, $client_err, $client_running);
($server, $client) = '';
$server = $client = '';
Mojo::IOLoop->server(
{address => '127.0.0.1', port => $port} => sub {
my ($loop, $stream) = @_;
Expand Down
2 changes: 1 addition & 1 deletion t/mojo/reactor_poll.t
Expand Up @@ -212,7 +212,7 @@ is ref Mojo::IOLoop->singleton->reactor, 'Mojo::Reactor::Poll',
ok !Mojo::IOLoop->is_running, 'loop is not running';
$port = Mojo::IOLoop->generate_port;
my ($server_err, $server_running, $client_err, $client_running);
($server, $client) = '';
$server = $client = '';
Mojo::IOLoop->server(
{address => '127.0.0.1', port => $port} => sub {
my ($loop, $stream) = @_;
Expand Down

0 comments on commit ef8a510

Please sign in to comment.