#!/perl/bin/perl.exe -w use strict; my @array = (); my @row = (); my %hash = (); if ( @ARGV != 1 ) { print "\nUsage: \n\n"; exit(0); } my $file = $ARGV[0]; open (FILE, $file) || die "ERROR: Unable to open $file :$!\n"; @array = ; my $size = @array; for (0..$size) { @row = (split /\;/, $array[$_]); $hash{$_} = \@row; foreach (@row) { print $_, "\n"; } @row = (); }