Is this a correct way of obtaining input from a file?by cecil36 (Pilgrim)
|on Aug 06, 2002 at 20:38 UTC||Need Help??|
cecil36 has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to get input from a file that has three pieces of information in it, a tracking number, a pager number, and the messaging service the pager is programmed on. The data is on separate lines, as in
Below is how I'm getting the input.
Here is where I'm generating the output file which a third-party program is going to read as input to generate the message to be sent to the pager. $status is the current status of the package, and $new is the current geographical location of the package when it was last scanned.
My last output file was
The paging service is listed as the recipient and the package ID number. For some reason, the status and location are not making it into the file as well. What should I check in my code?