Permalink
Browse files

More strict and warnings cleanup.

  • Loading branch information...
1 parent 0e0c7bb commit 4894b1020010c9614e557e432e978846704c9022 @shlomif committed Oct 30, 2011
@@ -1,11 +1,16 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2011 Rocky Bernstein <rocky@cpan.org>
-use strict; use warnings;
+
+package Devel::Trepan::CmdProcessor;
+
+use strict;
+use warnings;
+
+# TODO : I don't think this use lib is a good idea.
use lib '../../..';
use Devel::Trepan::DB::Sub;
use Devel::Trepan::Complete;
-package Devel::Trepan::CmdProcessor;
use English qw( -no_match_vars );
sub adjust_frame($$$)
@@ -1,16 +1,17 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2011 Rocky Bernstein <rocky@cpan.org>
-use strict; use warnings;
+package Devel::Trepan::CmdProcessor;
+use strict;
+use warnings;
use feature 'switch';
+
+# TODO : I don't think this use lib is a good idea.
use lib '../../..';
use Devel::Trepan::Position;
-package Devel::Trepan::CmdProcessor;
use English qw( -no_match_vars );
-
-
# attr_accessor :stop_condition # String or nil. When not nil
# # this has to eval non-nil
# # in order to stop.
@@ -1,4 +1,5 @@
-use strict; use warnings;
+use strict;
+use warnings;
use Class::Struct;
struct TrepanPosition => {pkg => '$', filename => '$', line => '$',

1 comment on commit 4894b10

rocky commented on 4894b10 Nov 4, 2011

Most of this seems dubious.

Please sign in to comment.