What's happening is the assignment-match isn't happening, so $functionName is undef.if ($line =~ /^\#CCR-(.*)/) { my $functionName = $1; my $desc = <DATA>; # pull the next line $functxt{$functionName} = $desc; }
Be careful over there.
In reply to Re: Help needed with file output and hashes.
by Roy Johnson
in thread Help needed with file output and hashes.
by Seventh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |