May 2, 2003 #1 Stocko Technical User Jul 9, 2002 2 GB Can I grab the name of the perl script and use it as the value of a variable in the same script? Regards
Can I grab the name of the perl script and use it as the value of a variable in the same script? Regards
May 2, 2003 #2 missbarbell Programmer Aug 1, 2001 457 GB #!/usr/bin/perl -w use strict; print "$0\n"; .... BTW thats a zero not a capital O. Barbie Leader of Birmingham Perl Mongers http://birmingham.pm.org Upvote 0 Downvote
#!/usr/bin/perl -w use strict; print "$0\n"; .... BTW thats a zero not a capital O. Barbie Leader of Birmingham Perl Mongers http://birmingham.pm.org
May 2, 2003 Thread starter #3 Stocko Technical User Jul 9, 2002 2 GB Thanks for your help. Upvote 0 Downvote