Matt Matijevich wrote:

>

> foreach (@master_file) {
>         chomp($_);
>         @temp = split(',', $_);

nope.  Should be:
          @temp = split(/,\s*/, $_);
split uses regex patterns to split on.  The join function does use strings.


>
>         $master{$temp[0]} = $temp[1];
> }
>
> foreach (@data_file) {
>         chomp($_);
>         @temp = split(',', $_);

Likewise here.

Joseph


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to