Keep It Simple, Stupid | |
PerlMonks |
Re: Reading Variables from a Fileby Chrisf (Friar) |
on Dec 30, 2001 at 01:15 UTC ( [id://135157]=note: print w/replies, xml ) | Need Help?? |
Say you have written the numbers to the file and have delimited them with | so the data in the file looks like this:
1111|2222|3333 You can then read them into your variables like so:
The length of the code can be reduced substantially, but this gives you an idea of what's going on.
In Section
Seekers of Perl Wisdom
|
|