perl modules

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shashikant24
    New Member
    • Dec 2007
    • 1

    #1

    perl modules

    hi all
    can any one tell me how to we use date module in perl script

    my sript is checked one date to other date and count how many time same host name is repeted.

    thanks
    shashikant
  • numberwhun
    Recognized Expert Moderator Specialist
    • May 2007
    • 3467

    #2
    Originally posted by shashikant24
    hi all
    can any one tell me how to we use date module in perl script

    my sript is checked one date to other date and count how many time same host name is repeted.

    thanks
    shashikant
    Well, what have you tried thus far? We need to see your code in order to help you.

    Also, all module documentation is kept over at cpan. Which module are you asking about as there are many?

    Regards,

    Jeff

    Comment

    • KevinADC
      Recognized Expert Specialist
      • Jan 2007
      • 4092

      #3
      Originally posted by shashikant24
      hi all
      can any one tell me how to we use date module in perl script

      my sript is checked one date to other date and count how many time same host name is repeted.

      thanks
      shashikant
      Code:
      use NAME OF MODULE HERE;
      here you write code that uses the modules methods/functions to return results
      before any of that, you read the documentation that comes with the module. Before you do that, you learn perl. Before that, you learn to read and write. Before that...... etc etc etc.

      Comment

      • t3chn0n3rd
        New Member
        • Dec 2007
        • 19

        #4
        Good luck. If you are using unix you can probably call it in from a system variable

        Comment

        Working...