From "things i forgot about #perl because i haven't touched it for too long":
Scripts are compiled before the actual execution is happening.
That makes debugging silly mistakes like "the file you're looking at isn't where you think it is" a bit different from eg. python.