How to let Perl recognize both lower and uppercase input?
<p>I'm currently trying to figure out how I can make my perl script accept both the lowercase and uppercase variant of a letter.</p>

<p>For Example.</p>

<pre><code>my %channels = (a =&gt; 'test', b =&gt; 'test2', c =&gt; 'test3', d =&gt; 'test4', e =&gt; 'test5', f =&gt; 'test6', g =&gt; 'test7');
</code></pre>

<p>So when I want to enter test I can either do a or A and it will accept it</p>

<p>To Sum up the problem:</p>

<p>When running the script I ran into an issue where you had to input a if you wanted test. This is all fine to me but other people wanted the option to do capital A instead. I am trying to give them the option to do either.</p>

<p>Thanks All</p>