in reply to how to get the matrix in output?
print Dumper(\@sim);
However, I do not believe the code you posted is the actual code that you are using. The code you posted would not compile without errors since you have not declared several variables with my, such as @words and @sim.
It is also a good practice to check the success of open, for example:
open my $in_fh, '<', $Infile or die "Can not open file $Infile: !$\n"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to get the matrix in output?
by smilly (Novice) on Feb 06, 2008 at 11:21 UTC |