Long time reader first time poster.
I'm currently writing some code to better automate adding a print queue on HP-UX and AIX systems. These printers are addressed by a simple numeric identifier, each has to be unique.
I'm wanting to have Perl read the text file and figure out which is the highest number, then store it in a Scalar for later use in the script.
Any input that points me in the right direction is greatly appreciated.