koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/C4/Interface RenewalsCDK.pm,1.4,1.5


From: Andrew Arensburger
Subject: [Koha-cvs] CVS: koha/C4/Interface RenewalsCDK.pm,1.4,1.5
Date: Sun, 13 Oct 2002 01:32:25 -0700

Update of /cvsroot/koha/koha/C4/Interface
In directory usw-pr-cvs1:/tmp/cvs-serv15421

Modified Files:
        RenewalsCDK.pm 
Log Message:
Deleted unused variables.
Removed trailing whitespace.


Index: RenewalsCDK.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Interface/RenewalsCDK.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** RenewalsCDK.pm      11 Oct 2002 12:38:33 -0000      1.4
--- RenewalsCDK.pm      13 Oct 2002 08:32:23 -0000      1.5
***************
*** 31,75 ****
  require Exporter;
  use DBI;
! use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
!   
  # set the version for version checking
  $VERSION = 0.01;
!     
  @ISA = qw(Exporter);
  @EXPORT = qw(renew_window);
- %EXPORT_TAGS = ( );     # eg: TAG => [ qw!name1 name2! ],
-                 
- # your exported package globals go here,
- # as well as any optionally exported functions
- 
- @EXPORT_OK   = qw($Var1 %Hashit);
- # non-exported package globals go here
- use vars qw(@more $stuff);
-       
- # initalize package globals, first exported ones
- 
- my $Var1   = '';
- my %Hashit = ();
-                   
- # then the others (which are still accessible as $Some::Module::stuff)
- my $stuff  = '';
- my @more   = ();
-       
- # all file-scoped lexicals must be created before
- # the functions below that se them.
-               
- # file-private lexicals go here
- my $priv_var    = '';
- my %secret_hash = ();
- 
- #defining keystrokes used for screens
- 
- # here's a file-private function as a closure,
- # callable as &$priv_func;  it cannot be prototyped.
- my $priv_func = sub {
-   # stuff goes here.
- };
-                                                   
- # make all your functions, whether exported or not;
  
  sub renew_window {
--- 31,41 ----
  require Exporter;
  use DBI;
! use vars qw($VERSION @ISA @EXPORT);
! 
  # set the version for version checking
  $VERSION = 0.01;
! 
  @ISA = qw(Exporter);
  @EXPORT = qw(renew_window);
  
  sub renew_window {
***************
*** 89,95 ****
    undef $borrbox;
    return address@hidden;
! }  
!                              
! END { }       # module clean-up code here (global destructor)
! 
! 
--- 55,57 ----
    undef $borrbox;
    return address@hidden;
! }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]