[svlug] [perl] question

Bill Schoolcraft bill at wiliweld.com
Sun Jan 27 13:12:01 PST 2002


Hello Family,

In using the special literal __FILE__ I'm trying to print the name
of the file in my cgi-scripts output, it does so "BUT" give me the
absolute path, I'm just looking for the filename. Can any tell me
what to change.?

print "The name of the perl script is ",__FILE__,".\n"; 

Thanks

-- 
Bill Schoolcraft            
PO Box 210076                 -o)
San Francisco CA 94121         /\
"UNIX, A Way Of Life."        _\_v
http://forwardslashunix.com






More information about the Svlug mailing list