File tree 4 files changed +14
-11
lines changed
4 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 1
- # !/usr/bin/perl -w
2
- use 5.010; # Use Perl 5.10
3
- use strict; # Enforce some good programming rules
1
+ # !/usr/bin/perl
2
+ use 5.010; # Use Perl 5.10
3
+ use strict; # Enforce some good programming rules
4
+ use warnings; # Replacement for the -w flag, but lexically scoped
4
5
use Local::LAT_processor; # Module to make PDF of the labels for different models
5
6
6
7
my $format = " LAT59" ; # page format name
Original file line number Diff line number Diff line change 1
- # !/usr/bin/perl -w
2
- use 5.010; # Use Perl 5.10
3
- use strict; # Enforce some good programming rules
1
+ # !/usr/bin/perl
2
+ use 5.010; # Use Perl 5.10
3
+ use strict; # Enforce some good programming rules
4
+ use warnings; # Replacement for the -w flag, but lexically scoped
4
5
use Local::LAT_processor; # Module to make PDF of the labels for different models
5
6
6
7
my $format = " LAT7" ; # page format name
Original file line number Diff line number Diff line change 1
- # !/usr/bin/perl -w
1
+ # !/usr/bin/perl
2
2
# # Copyright (C) 2010 Carnë Draug <[email protected] >
3
3
# #
4
4
# # This program is free software; you can redistribute it and/or modify
14
14
# # You should have received a copy of the GNU Affero General Public License
15
15
# # along with this program; if not, see <http://www.gnu.org/licenses/>.
16
16
17
- use strict; # Enforce some good programming rules
17
+ use strict; # Enforce some good programming rules
18
+ use warnings; # Replacement for the -w flag, but lexically scoped
18
19
use File::Temp qw( tempfile) ;
19
20
use CGI qw/ :standard :cgi/ ;
20
21
Original file line number Diff line number Diff line change 1
- # !/usr/bin/perl -w
1
+ # !/usr/bin/perl
2
2
# # Copyright (C) 2010 Carnë Draug <[email protected] >
3
3
# #
4
4
# # This program is free software; you can redistribute it and/or modify
14
14
# # You should have received a copy of the GNU Affero General Public License
15
15
# # along with this program; if not, see <http://www.gnu.org/licenses/>.
16
16
17
- use strict;
17
+ use strict; # Enforce some good programming rules
18
+ use warnings; # Replacement for the -w flag, but lexically scoped
18
19
19
20
my $dir = " /var/www/labels/temp" ; # defines directory to check
20
21
my $file ;
32
33
}
33
34
}
34
35
closedir (DIR);
35
- exit ;
You can’t perform that action at this time.
0 commit comments