Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Input file location now independent of run location
  • Loading branch information
Paul Cochrane committed Apr 28, 2015
1 parent 5bf39d0 commit 7b3c280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion categories/wsg/advanced-2008/event002-eric256.pl
Expand Up @@ -65,7 +65,8 @@
=end pod

my @lines = slurp("skaters.txt").split("\n");
my $input-file = $*PROGRAM_NAME.IO.dirname ~ "/skaters.txt";
my @lines = slurp($input-file).split("\n");

my %skaters ;
for @lines {
Expand Down

0 comments on commit 7b3c280

Please sign in to comment.