Mega Code Archive

 
Categories / Perl / Language Basics
 

You display the name of the current file with the __FILE__ token

print __FILE__;