|Just another Perl shrine|
Re^5: Wx Server reformby afoken (Abbot)
|on Jun 03, 2012 at 15:35 UTC||Need Help??|
Use Strict gives me BareWord "AHCMD" line 55. AHCMD is needed.
For what? Do you (not perl) think it is a constant? Perl does not think so. Maybe you need to import that constant explicitly. Do you (not perl) think it is a function without arguments? Then add explicit braces, and make sure perl knows that function (again, import it explicitly if it is not automatically exported). Do you (not perl) think it is an old-style file handle? Replace it with a lexical handle. Do you (not perl) think it is a string that does not strictly have to be quoted? Then add quotes.
Use Warnings gives me Useless use of 1's complement (~) in void context line 53. If I comment out line 53, the command to the system does not work. Line 53 is needed.
Looks like a typo. Do you want a string match (=~) or a smart match (~~)?
Line 53 is
And that ~ in front of every substitution operator is plain nonsense. Read perlsyn.
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)