Results 1 to 2 of 2
Bash scripts or PERL scripts? Whats the difference in the 2 and what situations would be best for each?...
- 05-01-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 5
Scripts
Bash scripts or PERL scripts? Whats the difference in the 2 and what situations would be best for each?
- 05-01-2010 #2
The difference is one of language. Bash scripts are written using the language of the commandline, while Perl is a scripting language.
As a general rule, if you are writing a script that simply automates a number of commands, maybe with a bit of logic, you should use Bash. If you are doing I/O or writing a more substantial program, you're better off using a fully-featured programming language (of which Perl is one).DISTRO=Arch
Registered Linux User #388732


Reply With Quote