I don't know how it should work, but on my pc (debian with perl-5.10.1) behaves in a strange way.
When I start the script:
.-------------------------------------------------------------------.
| | 4) Sandwiches
'-------------------------------------------------------------------'
Item number (1-4, 0 to restart, 'q' to quit)?
If I press '1':
.-----------------------------------------------------------------.
|3) French Toast
| | |
'-----------------------------------------------------------------'
Item number (1-4, 0 to restart, 'q' to quit)?
'2'
.------------------------------------------------.
|ese
|
|ese Casserole
|nd Rice Casserole
|
| 6) Fusilli with Fresh Tomato and Olive Sauce
|enne With Eggplant, Olives and Feta
|
|
|10) Soba Noodles with Spicy Tofu Peanut Sauce
|
|
'------------------------------------------------'
Item number (1-12, 0 to restart, 'q' to quit)?
'3'
.------------------------------------------------------.
|Greens, Pear, Almond and Feta Salad
|
|aco Salad
|ed Green Salad with Strawberry Dressing
|5) Mixed Lettuces with Reduced Balsamic Vinaigrette
|6) Quinoa Salad with Pistachios and Dried Pineapple
|Radish and Tomato Salad with Yoghurt Dressing
|
'------------------------------------------------------'
Item number (1-8, 0 to restart, 'q' to quit)?
'4'
.--------------------------------------------------------------------.
|1) Chicken and Sun-Dried Tomato Sandwiches with Basil Olive Pesto
|
|
|
'--------------------------------------------------------------------'
Item number (1-4, 0 to restart, 'q' to quit)?
The recipes are shown correctly. I guess this isn't the correct behaviour but I don't know what causes this, any idea?
Anyway, if you can make it work, I think it could fit well in CPAN in the form of a module.
Alessandro Ghedini <http://ghedini.co.cc>
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.