in reply to Can't open file within subroutine
In your code above, you are never getting a line.
Your code opens the file, but never draws data. Try something like this:
@lines = <INFO>;
Your code has other issues, such as:
I hope this helps.
J. J. Horner Linux, Perl, Apache, Stronghold, Unix jhorner@knoxlug.org http://www.knoxlug.org/
|
|---|