Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Yes, I was afraid people would be scared .. in fact, I'm pretty sure that's why the only vote I have at this point is a downvote. :( As far as the problem you seem to be encountering, my guess is that when you put this in a file... ... you left a line blank at the end - (<0>)[-1] should give you the last line of the file, which will contain the bit where the text comes from. If you remove your last blank line, it should work as expected. --chargrill [ whoops - signature hidden for this post, too :) ] In reply to Re^2: more tricks learned from fellow monks
by chargrill
|
|