If you insist on using your no strict "refs" method it's only a matter of time before someone enters deleteAllFiles as the data type.
Those are two different matters, and yet can be related. Strictures is about enforcing dicipline on variable declarations and/or explicit namespace usage, hard references, and bareword misplace/misuse. But use strict; gives us no guarantee about malicious user input prevention. We need another step for that. And this step is independent of strict.

Nevertheless, for me, strict and warnings are just too valuable to be put aside. I wouldn't go and code without them, even if I were at the same level as merlyn, except probably in one-liners.

Damn. You're all too fast. Or is it that I'm too Slow?
Don't worry, it's not about speed* in aswering :-) But rather, IMO, it's about correctness, accuracy, and relevancy**, well, as far as "the right question" is concerned. I personally consider your effort has met the three.

* Of course, answering a question with the same solution as other previous answers in the same thread after a significant time potentially invites something bad.

** I was thinking about something regarding my own "bads" but couldn't recall, and I said this to remind myself. Now I remember two of them, hence this second note


Update: Added the second footnote

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!


In reply to Re^2: Trying to get around the "use strict 'refs'" Issue by naikonta
in thread Trying to get around the "use strict 'refs'" Issue by qazwart

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.