So first I am new to perl and having a hard time trying to find the proper way to grab the $1 variable from sabnzbd. If someone could help by giving a simple example in perl on how to do this i would appreciate it. Everything i've googled is showing the reverse, a bash script grabbing the exit code from a perl script. Thanks in advanced.
-digi
Post Processing Perl Script
Re: Post Processing Perl Script
Have you tried looking at @ARGV and *_.
I haven't written anything for Sabnzbd myself.
If it passes it on the command line then your arguments will be space delimited stored in the @ARGV array.
I haven't written anything for Sabnzbd myself.
If it passes it on the command line then your arguments will be space delimited stored in the @ARGV array.