Jump to content

Noob...best Way To Test Pl Scripts?


mtapf

Recommended Posts

I am new here as of today: mtapf.heliohost.org / mtapf / stevie

Was a Unix sysadmin years ago.

 

I am building some perl scripts, and want to understand the best way to test them without needlessly wasting support's time. I saw that SSH is not enabled, so not sure the best route to test and debug. For example, in my perl directory under home, I have a SC2012.pl script from my desktop PC.

 

How can I test and run, and see what it outputs. So far, I am very impressed with the hosting service so want to make sure I am doing things "by the book".

 

Thanks

Arthur

Link to comment
Share on other sites

Hey dude, no one replied thought i would help you out.

First put your .pl file on the desktop, then open cmd, type "cd desktop"

then its as simple as typing "perl SC2012.pl"

 

The script will print or do whatever the script is supposed to do after you type in perl filename.

 

=}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...