> This may sound as a very stupid question, but here it > comes anyways. Has anybody come across a function that > would calculate the power of a number, like the pow > function in C. Simply, x to the power of y.
Yeah... I've come across one before. I'll take this oppertunity to gently remind you to search the manuals: perldoc perlop you'll find it under the section "Exponentiation", and you can get an overview of the manuals by: perldoc perl under most operating systems (not Windows), you can search using /keyword so, if I was looking for this I'd use: perldoc perlop /expon fast and easy - easier in fact than writing an email. Take care, Jonathan Paton ===== $_=q|.,&@$$. ,.@$&@$. .&$$@. ,,$ ....!$_=$p.'&$@.',y'&$@' .,';for(/\S+/g){ !|.q| .$ .,@, ,$, .,.. @, ,$ ,,@ .,,.!++$.<22?${'y'.$_}=chr$.+64:[$$=${'y' !|.q| ,@$@&.,. $$$&, ..@&&$,,, $., ..!.$_},$y.=($.=~/22\|26\|3(3\|7)/x?' ' !|.q|. @ ., ,.&,,, , .$..&. .,$ .,,!.$$:"\l$$")]};$y=~/ (.*)/;warn"$1\n" !|.q|. $ .,. .,$$&&$...&., @.,.&@$@ .|,map{-$|--?$r:$p.=$_}split'!';eval$r __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]