There's more than one way to do things | |
PerlMonks |
Re: Please Helpby grizzley (Chaplain) |
on Oct 01, 2012 at 09:30 UTC ( [id://996607]=note: print w/replies, xml ) | Need Help?? |
Not Perl-related answer, but shouldn't your task be to calculate tax? I mean if you have initial value x and you know what tax t is, you should print x * t on the output. For this you need to know that print takes list of arguments and print all of these, so you can use something like this: print "the tax rate is", 20, "% and it is ", 20 * $var1
In Section
Seekers of Perl Wisdom
|
|