Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Is it possible to modify __DATA__ via the DATA file handle or otherwise?

by dsheroh (Monsignor)
on Feb 10, 2018 at 09:57 UTC ( [id://1208883]=note: print w/replies, xml ) Need Help??


in reply to Is it possible to modify __DATA__ via the DATA file handle or otherwise?

This strikes me as a rather bad idea. If you do use version control, you're generating needless churn in the source repository whenever you change something in __DATA__. If you don't, you're taking an unnecessary risk of losing some or all of your program if a file offset is miscalculated or there's a problem while rewriting the file.

Too much risk, too little benefit, if you ask me.

  • Comment on Re: Is it possible to modify __DATA__ via the DATA file handle or otherwise?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1208883]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-25 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found