in reply to Breaking a script into smaller files

Also note $0 is global and writeable. It seems to me that ought to be enough reason to consider not using it for this (other reasons having been pointed out).

Besides __FILE__ is underused and much better.

  • Comment on Re: Breaking a script into smaller files