Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
sub load_array($$) <br> { <br> my ($a_ref, $file) = @_;<br> open (FILE, $file) or die "Can't open $file:$!\n";<br> @{$a_ref} = <FILE>; <br> close FILE; <br. chomp @{$a_ref}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re: Explaining
by Ovid (Cardinal) on Aug 31, 2000 at 19:30 UTC | |
|
Re: Explaining
by Shendal (Hermit) on Aug 31, 2000 at 19:34 UTC | |
|
Re: Explaining
by gaspodethewonderdog (Monk) on Aug 31, 2000 at 19:46 UTC | |
|
Re: Explaining
by ncw (Friar) on Aug 31, 2000 at 19:32 UTC | |
|
Re: Explaining
by Anonymous Monk on Aug 31, 2000 at 19:42 UTC | |
|
RE: Explaining
by Anonymous Monk on Aug 31, 2000 at 19:30 UTC | |
|
Re: Explaining
by agoth (Chaplain) on Aug 31, 2000 at 19:36 UTC |