P is for Practical | |
PerlMonks |
Re: Where does <GEN1> come from?by liverpole (Monsignor) |
on May 24, 2007 at 18:28 UTC ( [id://617308]=note: print w/replies, xml ) | Need Help?? |
Hi mnooning,
As BrowserUK says, it's the line number of the most recently opened filehandle. Here's a (slightly contrived) example:
When saved as the file "mytest", and run, it errors out on the 15th line, where a division by zero error occurs:
s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
In Section
Seekers of Perl Wisdom
|
|