in reply to How do I assign values via STDIN to hash reference object list?

First you have to determine how the user should separate the various tracks. Assume you want them white space separated, then you can do something like:
$self->{Tracks} = [split ' ', scalar <STDIN>];
  • Comment on Re: How do I assign values via STDIN to hash reference object list?
  • Download Code

Replies are listed 'Best First'.
Re^2: How do I assign values via STDIN to hash reference object list?
by gctaylor1 (Hermit) on Nov 02, 2008 at 19:30 UTC
    Oh thank-you! It never occurred to me to split it at the user input side. This works great.