Do you know where your variables are? | |
PerlMonks |
Re^3: Read in a file containing the criteria for a program when it runsby brx (Pilgrim) |
on Jul 18, 2012 at 21:34 UTC ( [id://982539]=note: print w/replies, xml ) | Need Help?? |
In this example, I use __DATA__ section and read it with <DATA>. This way, all is included in one file. But you will probably use an external file. To do that, just delete my $line = <DATA>; and while ($line = <DATA>) { (and __DATA__ section). Then uncomment the three lines.
In Section
Seekers of Perl Wisdom
|
|