This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Packs.pm | |
package Packs; | |
use v5.10; | |
use strict; | |
use warnings; | |
use diagnostics; | |
use Net::RawIP; | |
sub new { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set nowrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use v5.10; | |
use strict; | |
use warnings; | |
my $fname = $ARGV[0]; | |
my $FHi, my $FHo; | |
open ($FHi, '<', $fname) or die $!; | |
open ($FHo, '>', $fname . '.out') or die $!; |