in reply to Re: Executing a perl script in PuTTY
in thread Executing a perl script in PuTTY

PuTTY is what I prefer, but that is irrelevant. I just want to know the commands that are necessary for a successful execution.

Replies are listed 'Best First'.
Re^3: Executing a perl script in PuTTY
by Corion (Patriarch) on Jul 24, 2015 at 15:33 UTC

    I would assume that the commands are roughly the same as they would be in Windows Command Prompt. But why do you mention PuTTy if you think it is irrelevant?

    Most likely, you should get to your goal by entering:

    perl -w /roots/Documents/gogo.pl /roots/Documents/67865
      They are roughly the same but I keep running into an issue where that input on the terminal outputs: Can't open perl script .... No such file or directory. I'm assuming I have a path issue, but now I'm really lost. And I thought mentioning it would be extra information that would lead me to a better answer, but now that I think about it, it's rather silly.

        This is more an issue with operating and navigating your operating issue than with Perl. It seems as if you are unclear about the actual location of your Perl script.

        Maybe you can find the location of your Perl script with the find command, assuming that you are on a Unixish OS:

        find -name 'gogo.pl' /

        This may take quite a while to complete depending on the amount of directories it has to search through.