Read ONLY second line of script.

I want to add a version number to a few scripts I made.
I want to make it possible to read the version numbers in the admin script.
There for I want to enter the verion number at the scond line of the script. Reading all of the script only for one verion number line would take to much time!!
Therefor my question: Is it possible to only readin only the second line or the first and second line??
mmcwAsked:
Who is Participating?
 
prakashk021799Connect With a Mentor Commented:
open FILE, "<yourfile";

$first = <FILE>;
$second = <FILE>;

close FILE;
0
All Courses

From novice to tech pro — start learning today.