in reply to Re: Need Help Refactoring Method Calls
in thread Need Help Refactoring Method Calls
However, since no one else has commented that what you wrote was a soft reference (even though it still looks like one to me), I decided to run an example thru Perl Lint, and sure enough, it passes.
# cat test_me.pl #!/usr/bin/perl -w use strict; use warnings; use Top::Middle; my $class = "Top::Middle"; my $obj = $class->new( 'info' => 'some_data_or_whatever' ); $obj->method(); exit 0;
# perl -MO=Lint test_me.pl test_me.pl syntax OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Need Help Refactoring Method Calls
by rhesa (Vicar) on Feb 02, 2006 at 20:37 UTC |