use warnings;
use strict;
then Perl would have pointed this out. Good catch.
Suggested reading for the OP, Use strict and warnings and 'use strict' is not Perl. | [reply] [Watch: Dir/Any] [d/l] |
That is just a typo in here. | [reply] [Watch: Dir/Any] |
... just a typo ...
That's why use of an Short, Self-Contained, Correct Example can be so important when asking a question:
-
Here's the exact code I'm running;
-
Here's the exact input data;
-
Here's the output I get;
-
Here's the output I want;
-
Why don't I get what I want?
See also the Test::More approach to presenting code and input/output.
Give a man a fish: <%-{-{-{-<
| [reply] [Watch: Dir/Any] [d/l] [select] |
I'd like to add that it would be prudent for the OP to state all actions he's doing.
I tried to repro, and can't.
OP, exactly what steps did you take to implement this. Start with the name of the cs file, how you built it, registered the dll (exact commands) etc.
| [reply] [Watch: Dir/Any] |