After programming every day for about 25 years I retired a year ago and quit programming for a year.

I recently bought a soldering station that displays temp in Centigrade so yesterday I saddled up again and ran into the wall with this code for a bit...

#!/usr/bin/perl
if ( scalar @ARGV ==0){
    print "ftoc <deg>\n"; exit ;
}
print (5.0/9.0)*($ARGV[0]-32.0), " Centigrade\n" ;

I had to grab the Perl book and found "If it looks like a function it is a function".

Y'all ever been bit by this type of misdirection?

--Jerry



Reply via email to