I really can't stand it when people ask for help and y'all turn on them. Yeah this is obviously a homework problem, but if he's got to ask he's clearly got a teacher who can't teach.
Most any perl tutorial will tell you how to do this, but you have to break it down into simple parts.
First you're going to ask for input.
Try this example or search perlmonks
Now you're going to check for bad input. Look here under the while and until section
If you have bad input you're going to send something to STDERR. Here's a place that tells you about STDIN STDOUT AND STDERR
If your input is good you're going to print "Fahrenheit Celcius" (as pointed out above Celsius is misspelled). Here's a A Perl Tutorial: Super-Basics it describes how to print out stuff.
Now you're going to iterate. Check out this tutoral
Now "e" should really be back up when you check for bad input. There is a perlmonks node on How to identify a number datatype in a string?
And now voila you've got a script.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.