Skip to content

Commit

Permalink
use strict, use autodie;
Browse files Browse the repository at this point in the history
  • Loading branch information
Matija Nalis committed Jul 14, 2014
1 parent 232d20e commit 0f9e257
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions float.pl
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/usr/bin/perl -w

use strict;
use autodie;
use feature 'say';

my $num = 43.724884;
Expand Down
7 changes: 5 additions & 2 deletions gp2_to_bin.pl
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
#!/usr/bin/perl
#!/usr/bin/perl -w
#
# by Matija Nalis <[email protected]> GPLv3+, started 2014-06-21
# parse SLCLog.gp2 and create raw binary data (for passing to gpsd or similar)
#
# Usage: ./gp2_to_bin.pl data/2/SLCLog.gp2 > slclog.bin
# Usage: ./gp2_to_bin.pl data/2/SLCLog.gp2 > SLCLog.bin
#

use strict;
use autodie;

$|=1;

while (<>) {
Expand Down
1 change: 1 addition & 0 deletions raw4t_gp2_to_human.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#
# Usage: ./strace_to_gp2.pl data/strace4/strace.log.3491 | ./enc4t_gp2_to_raw4t_gp2.pl | ./raw4t_gp2_to_human.pl
#

use strict;
use autodie;
use feature "switch";
Expand Down

0 comments on commit 0f9e257

Please sign in to comment.