Originally I wrote the qw directly in the when statement. It doesn't work. Breaking it out like this makes it work as intended. What is the difference? --Johnmy @gr_choices= qw/jpeg jpg png/; # ??? why does this have to be on +a separate line? given ($ext) { when (@gr_choices) { ...
In reply to Smart-search/When question by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |