Perl question

Walter Vaughan wvaughan at steelerubber.com
Thu Jun 17 13:32:17 PDT 2004


Fairlight wrote:
> With neither thought nor caution, Steven Waters blurted:
> 
>>Greetings,
>>Walter wrote this perl answer.
>>I am assuming that the first line in this 
>>perl script is ignored with the #. 
>>Is this true? 
> 
> No it's not ignored, and it's also incorrectly formatted.  Try the following:
> 
> #!/usr/bin/perl -T
> $ENV{'TERM'} = 'ansi';
> my $fpstatus = system("/appl/fp/rreport File -f report -a -pn printer1");
> 
> mark->

Show off. :)

That's what I get typing directly without testing.

http://homepages.cwi.nl/~aeb/std/shebang/
	explains the whole shebang :) :)
http://homepages.cwi.nl/~aeb/std/shebang/unix-faq.txt
	is interesting reading as well

--
<?php echo"Walter"; ?>



More information about the Filepro-list mailing list