in reply to problems with reading __DATA__ from current package

Remove the use Switch; and have fun.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: problems with reading __DATA__ from current package
by perlguy (Deacon) on Jul 16, 2003 at 16:44 UTC

    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?

      I don't know really, I happened upon it by accident myself.

      Makeshifts last the longest.