From c9c6c8dd6e8a7aa9461708f2e45e5df7126bd7c7 Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Mon, 7 Jan 2008 13:53:13 -0600 Subject: [PATCH] Serials.pm - BEGIN block VERSION and vars related to export. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Serials.pm | 48 ++++++++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/C4/Serials.pm b/C4/Serials.pm index 06fafaa2f0..b27b3f09a6 100644 --- a/C4/Serials.pm +++ b/C4/Serials.pm @@ -30,31 +30,13 @@ use C4::Search; use C4::Letters; use C4::Log; # logaction -require Exporter; - use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); -$VERSION = 3.00; # set version for version checking - -=head1 NAME - -C4::Serials - Give functions for serializing. - -=head1 SYNOPSIS - - use C4::Serials; - -=head1 DESCRIPTION - -Give all XYZ functions - -=head1 FUNCTIONS - -=cut - -@ISA = qw(Exporter); -@EXPORT = qw( - +BEGIN { + $VERSION = 3.01; # set version for version checking + require Exporter; + @ISA = qw(Exporter); + @EXPORT = qw( &NewSubscription &ModSubscription &DelSubscription &GetSubscriptions &GetSubscription &CountSubscriptionFromBiblionumber &GetSubscriptionsFromBiblionumber &GetFullSubscriptionsFromBiblionumber &GetFullSubscription &ModSubscriptionHistory @@ -74,10 +56,25 @@ Give all XYZ functions &check_routing &updateClaim &removeMissingIssue &old_newsubscription &old_modsubscription &old_getserials -); + ); +} =head2 GetSuppliersWithLateIssues +=head1 NAME + +C4::Serials - Give functions for serializing. + +=head1 SYNOPSIS + + use C4::Serials; + +=head1 DESCRIPTION + +Give all XYZ functions + +=head1 FUNCTIONS + =over 4 %supplierlist = &GetSuppliersWithLateIssues @@ -2732,9 +2729,8 @@ sub itemdata { return ($data); } -END { } # module clean-up code here (global destructor) - 1; +__END__ =back