User Profile

Collapse

Profile Sidebar

Collapse
looza
looza
Last Activity: Jul 11 '08, 02:40 PM
Joined: Jul 9 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • looza
    started a topic Including a shell script file in Perl
    in Perl

    Including a shell script file in Perl

    Hi All,

    I have a bunch of shell script files that use a common shell script file that contains certain global variables that are declared and initialized or derived by some arithmatic.

    I have to now convert one of the shell script file to a perl file so I can use the in-built functions.

    Is the a way I can import the file with the globals and use them in my perl script?

    Thanks!
    See more | Go to post

  • Thanks for your help Kevin!...
    See more | Go to post

    Leave a comment:


  • 1. Its not a homework question
    2. I DO NOT need the code, I just need to know if Perl has any other structures/functions I can use to make it more efficient, and I needed to know that BEFORE I started writing the code.

    Anyway, I will just use whatever my limited knowledge of Perl allows and post if I have any problems.
    See more | Go to post

    Leave a comment:


  • Help with perl data structures and in-built functions.

    I have never used perl before, and I was recommended to use this to write a script for this:

    I have a file that has 2 columns like this:
    A B
    10 33
    8 20
    30 90

    If B falls in a certain range, say 15 < B < 30, I need to store the corresponding value of A, 8 in this case, in some structure (hashtable?)

    I have another file that looks like this
    C D...
    See more | Go to post
No activity results to display
Show More
Working...