in reply to Re^2: Help Changing use into require/import
in thread Help Changing use into require/import
Can't locate object method "new" via package "Capture::Tiny" at ./foo.pl line 40
Capture::Tiny doesn't have a new() method, and Capture::Tiny->new() will therefore fail irrespective of how you loaded the module.
Cheers,
Rob
Capture::Tiny doesn't have a new() method, and Capture::Tiny->new() will therefore fail irrespective of how you loaded the module.
Cheers,
Rob
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Help Changing use into require/import
by computergeek (Novice) on Mar 08, 2018 at 13:46 UTC | |
by Corion (Patriarch) on Mar 08, 2018 at 13:50 UTC |
In Section
Seekers of Perl Wisdom