in reply to $0 in suid enabled script
in thread Insecure dependency in system under -T, with list form invocation
C:\>more temp.pl #!/usr/bin/perl -- use strict; use warnings; my ($package, $filename, $line) = eval { caller }; print "\$0 $0\n"; print "filename $filename\n"; print "__FILE__ ", __FILE__,"\n"; __END__ C:\>perl temp.pl $0 temp.pl filename temp.pl __FILE__ temp.pl C:\>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $0 in suid enabled script (not SUID)
by tye (Sage) on Sep 15, 2008 at 15:18 UTC | |
by Anonymous Monk on Sep 15, 2008 at 15:21 UTC | |
by cramdorgi (Acolyte) on Sep 15, 2008 at 15:43 UTC |