As far as this:
"$yellow")} elsif ( $conf_line[1] =~ "blue" ) {push(@color_array,
Why not just:
sub push_Colors() { my $color = shift; push(@color_array,$color) }
Called like:
push_Colors($conf_line[1]);
I thought he was pushing '$yellow' when he found 'yellow'.
Your code would just push the word found (ie, literal 'yellow')
I think...
One of us is confused ;-)
Yep. =) I am prolly...
Bottomline is what is $yellow if not yellow?
I only made my suggestion to have the OP to see if they might like to re-evaluate what they originally programmed.
-Bill- __Sx__________________________________________ http://youve-reached-the.endoftheinternet.org/
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>