help with installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tosameena
    New Member
    • Jan 2008
    • 2

    #1

    help with installation

    hi all,
    im trying to install perl in linux OS..
    can any one guide me through the it plz...
    im new to perl scripting.

    thank you....
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    Originally posted by tosameena
    hi all,
    im trying to install perl in linux OS..
    can any one guide me through the it plz...
    im new to perl scripting.

    thank you....
    Perl generally comes with Linux distributions.

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      Originally posted by tosameena
      hi all,
      im trying to install perl in linux OS..
      can any one guide me through the it plz...
      im new to perl scripting.

      thank you....
      I agree with Kevin, I believe that Perl should be there by default, unless you chose NOT to install it during installation.

      Simply open your command line and type "which perl" and it will tell you where it is. You can also type "perl -v" after that and it will tell you what version it is. The newest version is 5.10, but it may be 5.8.x that is installed.

      Regards,

      Jeff

      Comment

      • tosameena
        New Member
        • Jan 2008
        • 2

        #4
        Originally posted by numberwhun
        I agree with Kevin, I believe that Perl should be there by default, unless you chose NOT to install it during installation.

        Simply open your command line and type "which perl" and it will tell you where it is. You can also type "perl -v" after that and it will tell you what version it is. The newest version is 5.10, but it may be 5.8.x that is installed.

        Regards,

        Jeff
        hi,
        thank you..
        i will check im my system...

        Comment

        • t3chn0n3rd
          New Member
          • Dec 2007
          • 19

          #5
          Perl should be installed with your distribution. Which distrobution are you using? I know in Redhat if you install the development tools you are fine.


          Here is a sime perl program. Just use the vi editor

          # ! /usr/bin/perl
          #Simple perl program

          print ("This is a simple perl program")


          save this

          then run ./sample.pl

          you may have to change priv to execute.

          chmod ugo + x sample.pl

          Comment

          Working...