Perl question
Results 1 to 6 of 6

Thread: Perl question

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    3

    Post Perl question

    I've just recently started learning Linux and am looking at Perl as a scripting language for administrative tasks. It would be nice to be able to use the same language for my Linux and win boxes.

    Everything I have found says that Perl will run on Windows but not natively. You have to install something like ActiveState's ActivePerl in order to run your Perl scripts.

    In installing this software does it not create another problem in that now if someone attacks that particular box they an execute perl scripts on it that they could not before.

    Is the advantage worth the risk?

    -CD

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Location
    Rotterdam, Netherlands
    Posts
    3,401

    Re: Perl question

    Originally posted here by cable dog
    I've just recently started learning Linux and am looking at Perl as a scripting language for administrative tasks. It would be nice to be able to use the same language for my Linux and win boxes.

    Everything I have found says that Perl will run on Windows but not natively. You have to install something like ActiveState's ActivePerl in order to run your Perl scripts.

    In installing this software does it not create another problem in that now if someone attacks that particular box they an execute perl scripts on it that they could not before.

    Is the advantage worth the risk?

    -CD
    Yes, it's worth the risk. The risk would be the same as someone running a VBScript using Windows Scripting Host.

    Just do NOT put perl.exe somewhere it can be called from using IIS (or any other webserver). If someone is able to run perl using http://yourserver/cgi/perl.exe or something simular you are dead.

    ActivePerl is IMHO the best perl distro for win32. I use it on a daily basis (for work and play).

  3. #3
    Senior Member
    Join Date
    Sep 2001
    Posts
    144
    i have to agree, perl is an amazing language... i haven't written code in any other language in probably 8 years, yet I am writing more powerful utilities than ever before. There are alot of very good books on perl, most notibly the O'reilly books http://perl.oreilly.com/ I've actually got a collection fo perl books going, I just wish i had gotten the perl cookbook long ago, and wasn't waiting for some spare cash to do it.

    but like sirdice said, just make sure that you aren't able to access perl from your web services and you'll be fine.

  4. #4
    Senior Member tampabay420's Avatar
    Join Date
    Aug 2002
    Posts
    953
    a great read: Perl for System Administration: Managing multi-platform environments with Perl
    http://btobsearch.barnesandnoble.com...sbn=1565926099

    some links>
    http://www.laineed.com/perlpkg.doc "admin Perl Scripting .DOC
    http://www.google.com/search?q=Perl+...UTF-8&oe=utf-8
    yeah, I\'m gonna need that by friday...

  5. #5
    Member
    Join Date
    Mar 2003
    Posts
    38

    tip

    perl doesnīt run natively on linux either, the diference is that linux already comes with it.

    perl begginers tend to make serious security mistakes, but thatīs something you should learn by yourself.

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    38

    tip

    perl doesnīt run natively on linux either, the diference is that linux already comes with it.

    perl begginers tend to make serious security mistakes, but thatīs something you should learn by yourself.

Posting Permissions

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