in reply to Re^4: Wx Server reform
in thread Wx Server reform

"AHCMD is needed.
...
Line 53 is needed.</i?"

"(N)eeded," maybe. Need to be corrected; definitely!

When the pragmas provide the kind of information you've now observed, they're not telling you that something is "un-needed." They're telling you that you haven't written the Perl (the code) correctly; that you need to fix the errors before you can move on.

Replies are listed 'Best First'.
Re^6: Wx Server reform
by gg4000 (Novice) on Jun 03, 2012 at 18:28 UTC
    Thanks to you, I removed all the ~ on line 53 and it still works and the warning went away.

    Next is Making Perl know AHCMD has to be used.

    system(AHCMD. "$_")
    is sent to the path that contains AHCMD.exe. The arguments are what the client sent. A1 On or A1 Off, etc.
      Unless AHCMD runs really really fast, you will need to put it into it's own thread, or it will block your network code and GUI. Also you should be using Wx::Socket for your sockets. But after all the responses I gave you in Server with GUI, I'm giving up trying to correct your code. Please go to jobs.perl.org to get someone to write your code for you.

      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh