Working on small program that displays hash slice, Below is code and error.
## Program executes example of hash slice my @players = qw/ barney fred dino/; my @bowling_scores = (195, 205, 30); my @score { @players} = @bowling_scores; print "Tonight's players were @players\n"; print "Their scores were: @score{@players}"; syntax error at ./Page_280 line 11, near "@score { " Execution of ./Page_280 aborted due to compilation errors
TIA The Catfish
In reply to Working on hash slice by catfish1116
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |