Dumber answer than I thought. As someone pointed out, it is actually '**' not '^'.
Cosmic brain fart, my apologies. Chris At 10:32 AM 4/5/2002 -0500, David Mintz wrote: >On Fri, 5 Apr 2002, Chris Snyder wrote: > > > Dumb-ass answer: > > > > print "Number to square: "; > > $num = <STDIN>; > > > > print $num ^ 2, "\n"; > > > > I haven't tested this, but you get the idea. > > >Aaaah! > > >Excellent. Many thanks. > > > David > >_______________________________________________ >ActivePerl mailing list >[EMAIL PROTECTED] >To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ ActivePerl mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
