Hi Bastian, Bastian Angerstein wrote on 05.07.2004:
>Hello, > >I have a few questions regarding to the DATA Filehandle: > >1. This handle ist opend by default or do I have to open it by >myself? > According to the docs, it should be opened by the __DATA__ token: >The __DATA__ token opens the DATA handle in whichever >package is in effect at the time, so different modules can each have >their own DATA filehandle, since they (presumably) have different >package names. >2. Is it possible to change to content of what the handle so that >the __DATA__ Sektion of my skript changes? > I don't think it's a good idea to have a script write to itself. The DATA section is meant to keep static input out of the way of your processing commands. If you want to modify it, I suggest storing it outside of the script. - Jan -- If all else fails read the instructions. - Donald Knuth -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>