in reply to Re: problems with reading __DATA__ from current package
in thread problems with reading __DATA__ from current package

Hmmm... I stripped down my module for better Perlmonks readability, and I had a use Switch switch inside of my code. I had no idea it would change how __DATA__ special filehandle works. Can you explain?

Replies are listed 'Best First'.
Re^3: problems with reading __DATA__ from current package
by Aristotle (Chancellor) on Jul 16, 2003 at 16:57 UTC
    I don't know really, I happened upon it by accident myself.

    Makeshifts last the longest.