in reply to Practicing with files

I think you're asking how to do this:

chomp( my @deposits = split /\s+/, lc <STDIN> ); print "$_\n" for @deposits;

If so, I'm sure you can adapt that first line to fit within your script.

When starting a new thread that relates to previous threads, please be sure to link, and if necessary, clarify how this question is a different topic from the previous (related) threads:


Dave

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.