Hello,
You can use 'testPlugin' in bin.
[EMAIL PROTECTED] bin]# ./testPlugin -h
Name "main::module" used only once: possible typo at ./testPlugin line 182.
./testPlugin [options]
-h This help
-p <PluginName> Plugin to test
-P <ProfileName> Profile to use for testing
-t <yyyymmddHHMM> Timestamp to use for test
e.g: -p myCoolPlugin -P myCoolProfile -t 200503310000
You specify the plugin name, the timestamp and the profile like in the
example. If your version of testPlugin fails with this error message:
[EMAIL PROTECTED] bin]# ./testPlugin -h
Global symbol "$module" requires explicit package name at ./testPlugin line
182.
Execution of ./testPlugin aborted due to compilation errors.
Then, comment the line saying 'use strict;' and it should work.
My script may be left over from an older nfsen installation.
Cheers,
Adrian
On Thu, Jul 24, 2008 at 1:07 PM, Bjoern Weiland <
[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> how can I debug my plugin code, i.e how am I able to manually run
> myPlugin.pm so that I won't have to wait 5 minutes til the next cycle?
>
> perl myPlugin.pm does not work, even when I symlink all the needed pm's
> to it's proper place. It does not give any error, though, but there is
> no syslog output.
> Any recommendations?
>
> -regards, bjoern
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nfsen-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss