in reply to Reading from files
my %table; while (<DATA>) { chomp; my @f = split / \| /; my $i = 0; while(@f){ push @{$table{$i}}, shift @f; ++$i; } } use Data::Dumper; print Dumper \%table; print "\n=>> Paths:\n", join $/, @{$table{4}}; __DATA__ This | Is | An | Entry | //Path/To/File.pdf This | Is | Entry | 2 | //Path/To/File2.pdf
|
|---|