zdog's tests would seem to indicate that lexical variables are faster than package variables, so if speed is important to you go with my, otherwise I don't know of any reason to choose one in preference to the other so just go with whatever you feel most comfortable with.
--In reply to RE: RE: (3) CGI.pm for CSS, tables, pet tricks (use vars vs my)
by davorg
in thread (code)) CGI.pm - CSS, tables... (deprecated by node 50167)
by ybiC
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |