Re: I did it!

2004-02-01 Thread R. Joseph Newton
Joel wrote: > I wrote a decent, working program that actually does something semi-usefull!!!> Check it out! You can find the area of a circle with it!>> Joe Great! Welcome to the programmer's world. A couple tips: The name you used for the zip file was better than the one you used for the scr

Re: I did it!

2004-02-01 Thread Paul Kraus
On Feb 1, 2004, at 11:51 AM, Joel wrote: I wrote a decent, working program that actually does something semi-usefull (areaformula.pl)!!! Check it out! You can find the area of a circle with it! Also, can someone tell me what I did wrong with modifiedarea.pl and what the error (Main::useless use

Re: I did it!!!

2001-07-06 Thread Aaron Craig
At 08:31 06.07.2001 -0400, Jeff 'japhy' Pinyan wrote: >On Jul 6, Aaron Craig said: > > >print "The result,"; > >sleep(2); > >print " you ignorant fool,"; > >sleep(2); > >print " is: $result\n"; > >You'd have to turn off output buffering for STDOUT. > > $| = 1; Interesting, it worked as expected

Re: I did it!!!

2001-07-06 Thread Jeff 'japhy' Pinyan
On Jul 6, Aaron Craig said: >print "The result,"; >sleep(2); >print " you ignorant fool,"; >sleep(2); >print " is: $result\n"; You'd have to turn off output buffering for STDOUT. $| = 1; -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ I am Marillion, the wiel

Re: I did it!!!

2001-07-06 Thread Aaron Craig
At 16:02 05.07.2001 -0500, Humberto Varela wrote: >you have an error in your syntax: > > > >print STDOUT "The result you ignorant fool is: $result\n"; > >should be: > >print STDOUT "The result, you ignorant fool, is: $result\n"; > >commas help emphasize that "pause" in the print statement. > >: )

Re: I did it!!!

2001-07-05 Thread K.L. Hayes
Hello Newbie, And let us not forget to scold you on your non-use of "strict". The use of it in this list will help avoid future flames & find errors in longer, more complex scripts. I'll demonstrate the use of it, & include the tips posted thus far... #!c:/perl/bin/perl -w use strict; my $num

Re: I did it!!!

2001-07-05 Thread Chas Owens
On 05 Jul 2001 16:02:40 -0500, Humberto Varela wrote: > you have an error in your syntax: > > > >print STDOUT "The result you ignorant fool is: $result\n"; > > should be: > > print STDOUT "The result, you ignorant fool, is: $result\n"; > > commas help emphasize that "pause" in the print state

Re: I did it!!!

2001-07-05 Thread Humberto Varela
you have an error in your syntax: >print STDOUT "The result you ignorant fool is: $result\n"; should be: print STDOUT "The result, you ignorant fool, is: $result\n"; commas help emphasize that "pause" in the print statement. : )