Perls of taking a vacation...

2003-12-22 Thread Jerry LeVan
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){

Re: Perls of taking a vacation...

2003-12-22 Thread Nathan Torkington
On Dec 22, 2003, at 8:50 AM, Jerry LeVan wrote: 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? All the time. Nat

Re: Perls of taking a vacation...

2003-12-22 Thread drieux
On Dec 22, 2003, at 7:52 AM, Nathan Torkington wrote: On Dec 22, 2003, at 8:50 AM, Jerry LeVan wrote: 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? All the