I am writing a multipass compiler that is internateralized, and sometimes I need to warn the user about things that I did not notice in the first pass. The first pass parses the program and converts it to an intermediate representation (which has refrences to the file name and line number so I know where to point fingers). but I would like to use the internal warning mechinism to warn with the input line and file. I have tried setting $. and $ARGV, but the magic is not triggered. Does anyone know what I missed? Asside from reimplementation?