#!/usr/bin/perl use feature qw/:5.10 switch say/; my(@gr_choices) = qw/jpeg jpg png/; given($gr_choices[0]) { when('jpeg') { say 'jpeg is one of the choices'; } }
In reply to Re: Smart-search/When question
by Khen1950fx
in thread Smart-search/When question
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |