I am very new to linux and perl and I am trying to use SOAP::Lite as an API for ffencoderd, a daemon to convert my videos in background. I know I am probably doing something stupid but I read the documentation SOAP::Lite and is says to type use SOAP::Lite. I type into the terminal use SOAP::Lite and it says ‘no command use’. So I try perl use SOAP::Lite and it says no directory use…Can someone give me some clarity here lol, I feel pretty dumb right now…
Share
Your problem seems to be that you don’t know Perl, rather then that you don’t know SOAP::Lite. You might like to start with the Modern Perl book (in hard copy or a free ebook).
SOAP::Lite is a module, not an executable, so you don’t run it directly from the command line.
useis part of the Perl language, not an executable, so again, you can’t run it directly from the command line.You could write a Perl one-liner that calls it
… but SOAP is sufficiently complicated that a one-liner almost certainly isn’t what you are after.
You need to open a text file, put the standard Perl boilerplate at the top (a shebang line along with
use strict; use warnings;) and then write your program there (so you can save it).then you can run the script you saved: