[lug] Perl Help

Kyle Moore kmoore at mooreimages.com
Thu Oct 4 16:59:12 MDT 2001


If I have two symbolic links (a.pl and b.pl) that point to c.pl how can I
tell how the script was called? In c.pl I need to be able to tell if a.pl,
b.pl or c.pl was typed in at the command line.

I know I could get the pid and then match the last column but I was
looking for something better than a hack. Any ideas?

---
Kyle Moore




More information about the LUG mailing list