Find the answer to your Linux question:
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?...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    5

    Talking Scripts

    Bash scripts or PERL scripts? Whats the difference in the 2 and what situations would be best for each?

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...