in reply to RE: Self-Modifying-Perl-Script
in thread Self-Modifying-Perl-Script

for what it's worth, i can not conceive, other than as a test scenario, for a reason to make a script self modifying in such a manner. Look at the program's design from a logical standpoint. If it makes sense for an external file to contain your configuration information, or your test data, or something NOT internal to the logic of your code, then put it an external file! Remeber, we want to make our code as readable and accessible to people other than ourselves. Anyone who ever has to look at your code somday down the road will thank you for it. Let's make sure that this isn't a case of us being too clever for our own good!