package NCPS::Results; use strict; use warnings; use lib '/var/www/html/lib' ; use NCPS::UTIL qw/prepareExecute pretty_time getTableColumns input_time convertTime getInfoById / ; use NCPS::Meets qw/getMeetInfo getEventLayout getPointsParadigm getEventLayout2 /; use NCPS::Teams qw/getTeamInfo getAthlete/ ; use NCPS::Events qw/getEventInfo/ ; use NCPS qw/debug logtime /; use Data::Dumper ; $Data::Dumper::Sortkeys = 1 ; $Data::Dumper::Indent = 1 ; my $debug = 1 ; our (@ISA, @EXPORT_OK); BEGIN { require Exporter; @ISA = qw(Exporter); warn "NCPS::Meets found at $INC{'NCPS/Meets.pm'}\n" ; warn "Is NCPS::Meets a subclass of Exporter? ", NCPS::Meets->isa('Exporter') ? "Yes\n" : "No\n" ; warn "Can NCPS::Meets export getMeetInfo? ", (0 != grep { $_ eq 'getMeetInfo'} @EXPORT_OK) ? "Yes\n" : "No\n" ; @EXPORT_OK = qw/ getTeamIdFromAbbr getMeetResults getTeamResults getResultDetail insertResult insertSplits insertRelay insertLeadoff getEventResults sortEventResults getScores getEventScores setEventScore updateMeetScores setMeetScore getCumulativeScores getPerformancePoints convertMeetToNWayDual scoreEvent addScoresAfterTheFact setResultScoreAndPlace deleteResult getEventIDFromResultRecord getLeadOffSplit updateMeetTimeStamp /; } #### root@ncps-modperl-prod:/var/www/html/lib/NCPS# perl -ctw Results.pm NCPS::Meets found at /var/www/html/lib/NCPS/Meets.pm Is NCPS::Meets a subclass of Exporter? No Can NCPS::Meets export getMeetInfo? No NCPS::Meets found at /var/www/html/lib/NCPS/Meets.pm Is NCPS::Meets a subclass of Exporter? Yes Can NCPS::Meets export getMeetInfo? No Subroutine getPerformancePoints redefined at Results.pm line 58. Subroutine getTeamIdFromAbbr redefined at Results.pm line 104. Subroutine getMeetResults redefined at Results.pm line 112. Subroutine getTeamResults redefined at Results.pm line 126. Subroutine getResultDetail redefined at Results.pm line 256. Subroutine insertResult redefined at Results.pm line 296. Subroutine insertSplits redefined at Results.pm line 389. Subroutine insertRelay redefined at Results.pm line 421. Subroutine getEventResults redefined at Results.pm line 453. Subroutine sortEventResults redefined at Results.pm line 650. Subroutine getEventScores redefined at Results.pm line 718. Subroutine scoreEvent redefined at Results.pm line 745. Subroutine updateMeetTimeStamp redefined at Results.pm line 854. Subroutine getScores redefined at Results.pm line 863. Subroutine setEventScore redefined at Results.pm line 888. Subroutine updateMeetScores redefined at Results.pm line 919. Subroutine setMeetScore redefined at Results.pm line 939. Subroutine getCumulativeScores redefined at Results.pm line 988. Subroutine convertMeetToNWayDual redefined at Results.pm line 1016. Subroutine addScoresAfterTheFact redefined at Results.pm line 1098. Subroutine setResultScoreAndPlace redefined at Results.pm line 1132. Subroutine deleteResult redefined at Results.pm line 1147. Subroutine getEventIDFromResultRecord redefined at Results.pm line 1173. Subroutine getLeadOffSplit redefined at Results.pm line 1194. Subroutine insertLeadoff redefined at Results.pm line 1254. Results.pm syntax OK #### package NCPS::Meets; use strict; use warnings; use feature qw( switch ); no warnings qw( experimental::smartmatch ); use lib '/var/www/html/lib' ; use NCPS qw/ debug / ; use NCPS::UTIL qw/prepareExecute display_event display_event2 getInfoById/ ; use NCPS::Teams qw/getTeamInfo/ ; my $debug = 1 ; our (@ISA, @EXPORT_OK); BEGIN { require Exporter; @ISA = qw(Exporter); @EXPORT_OK = qw/ createMeet addMeetDirector addTeamsToMeet setupEventScores getEventStatus changeEventStatus getMeetInfo getMeetRoster getEventLayout getEventLayout2 getMyMeets getPointsParadigm getAllEventLayouts getAllScoringLayouts getAllFacilities getSubMeets getEventIDFromEventOrder getPointsLayout checkMeetId clearMeet getMeetsToEnter addDiveCat pastDeadline getReferees getMeetsToCertify getOfficials /; }