Thread: Perl or Shell?
View Single Post
  #8 (permalink)  
Old 03-30-2008, 02:47 AM
Justice M Justice M is offline
Senior Member
 
Join Date: Feb 2008
Posts: 106
Justice M will become famous soon enough
Default

Quote:
Originally Posted by v0id View Post
To use Perl on Linux, you can normally just type perl in the terminal. Either alone or followed by the name of the Perl-script to run. If no name is given, you can use it as a simple interpreter.
Code:
$ perl
print "1+2=", 1+2, "\n"
1+2=3
When you've written the print-statement you'll have to interpret it, which is done by pressing CTRL+D, and then the result will show up.
I would definitely think Shell and SSH would be easier to execute commands, then. Perl is a programming language, is it not? You'll basically be programming commands sort-of-say with Perl... Much more difficult, no?
Reply With Quote