For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > July 2004 > __DATA__ Token Question









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author __DATA__ Token Question
Bastian Angerstein

2004-07-22, 8:55 am

Hello,

some ws ago I had a question regarding The DATA-Token.

Now there is anonther one:

Could I change the contens of the datatoken (filehandle)
during the runtime of the skript?

If anyone has an idea I would be grateful.


Owen Cook

2004-07-22, 8:55 am


On Thu, 22 Jul 2004, Bastian Angerstein wrote:

> some ws ago I had a question regarding The DATA-Token.
>
> Now there is anonther one:
>
> Could I change the contens of the datatoken (filehandle)
> during the runtime of the skript?
>
> If anyone has an idea I would be grateful.



I am not sure of your question, but would the module

Inline::Files

be of assistance to you? Try

http://search.cpan.org/search?query...AFiles&mode=all



Owen

Thomas bätzler

2004-07-22, 8:56 pm

Bastian Angerstein <ang@nmc-m.dtag.de> asked:
> Could I change the contens of the datatoken (filehandle)
> during the runtime of the skript?


That depends on the OS and implementation - for some
you can do that, for others you can't. And the big
question is of course if you should do that.

HTH,
Thomas
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com