Post Processing Perl Script

Come up with a useful post-processing script? Share it here!
Post Reply
digi691
Newbie
Newbie
Posts: 1
Joined: April 14th, 2010, 10:01 pm

Post Processing Perl Script

Post by digi691 »

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
Napalm
Newbie
Newbie
Posts: 1
Joined: April 20th, 2010, 4:15 am

Re: Post Processing Perl Script

Post by Napalm »

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.
Post Reply