sweetblood has asked for the wisdom of the Perl Monks concerning the following question:
I'm banging my head against a pile of "Subroutine Yada::Yada redefined ..." errors. I have pared my script to just use commands, yet they continue. Here is what I've got:
And here is what I get:#!/usr/bin/perl -w use strict; use v5.10; use POE; use File::Copy; use MIME::Lite; use Time::Piece; use Data::Dumper; use File::Basename; use Net::SFTP::Foreign; #use Win32::Process::Info; use POE::Component::DirWatch::Object; use IPC::System::Simple qw(system); use sigtrap qw(die untrapped normal-signals error-signals);
This is driving me nuts. I admit to being an on again off again perl user. Please let me know what is going on if you can. Thanks!Subroutine AUTOLOAD redefined at C:/Strawberry/perl/site/lib/Time/HiRe +s.pm line 36. Subroutine import redefined at C:/Strawberry/perl/site/lib/Time/HiRes. +pm line 54. Subroutine tv_interval redefined at C:/Strawberry/perl/site/lib/Time/H +iRes.pm line 75. Subroutine Time::HiRes::CLONE redefined at C:/Strawberry/perl/site/lib +/Time/HiRes.pm line 71. Subroutine Time::HiRes::constant redefined at C:/Strawberry/perl/site/ +lib/Time/HiRes.pm line 71. Subroutine Time::HiRes::usleep redefined at C:/Strawberry/perl/site/li +b/Time/HiRes.pm line 71. Subroutine Time::HiRes::nanosleep redefined at C:/Strawberry/perl/site +/lib/Time/HiRes.pm line 71. Subroutine Time::HiRes::sleep redefined at C:/Strawberry/perl/site/lib +/Time/HiRes.pm line 71. Subroutine Time::HiRes::ualarm redefined at C:/Strawberry/perl/site/li +b/Time/HiRes.pm line 71. Subroutine Time::HiRes::alarm redefined at C:/Strawberry/perl/site/lib +/Time/HiRes.pm line 71. Subroutine Time::HiRes::gettimeofday redefined at C:/Strawberry/perl/s +ite/lib/Time/HiRes.pm line 71. Subroutine Time::HiRes::time redefined at C:/Strawberry/perl/site/lib/ +Time/HiRes.pm line 71. Subroutine Time::HiRes::clock_gettime redefined at C:/Strawberry/perl/ +site/lib/Time/HiRes.pm line 71. Subroutine Time::HiRes::clock_getres redefined at C:/Strawberry/perl/s +ite/lib/Time/HiRes.pm line 71. Subroutine Time::HiRes::clock_nanosleep redefined at C:/Strawberry/per +l/site/lib/Time/HiRes.pm line 71. Subroutine Time::HiRes::clock redefined at C:/Strawberry/perl/site/lib +/Time/HiRes.pm line 71. Subroutine Time::HiRes::lstat redefined at C:/Strawberry/perl/site/lib +/Time/HiRes.pm line 71. Subroutine Time::HiRes::stat redefined at C:/Strawberry/perl/site/lib/ +Time/HiRes.pm line 71.
Sweetblood
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Subroutine Time::HiRes::Time redefined ... Help
by hippo (Chancellor) on May 03, 2018 at 22:07 UTC | |
by sweetblood (Prior) on May 03, 2018 at 22:21 UTC | |
by Laurent_R (Canon) on May 04, 2018 at 08:32 UTC | |
Re: Subroutine Time::HiRes::Time redefined ... Help
by rminner (Chaplain) on May 07, 2018 at 01:59 UTC | |
by afoken (Canon) on May 07, 2018 at 18:14 UTC |
Back to
Seekers of Perl Wisdom