You could store the script lines in a list instead of a single scalar, then using (ack!) line numbers, provide a way to list, modify, add (remember BASIC?), or delete lines. This way a tutorial can build up a routine. Then at the end, you can save the whole thing as a real Perl ".pl" script in an external file. | [reply] [Watch: Dir/Any] |
Yeah, add a LIST command, which will show all those lines, possibly preceded by line number (and automatic renumbering), so you'll be able to fit lines in between them:
>LIST
10 while($home) {
20 sweet }
>15 # Okay, a ++ vote for the first monk to recognise which tv series
+I'm referring to :-)
>LIST
10 while($home) {
20 # Okay, a ++ vote for the first monk to recognise which tv series I
+'m referring to :-)
30 sweet }
Problem is, BASIC has a bad reputation, but this 'instant gratification' 'mod for Perl' might be very promising. I'll try to test it on my brother tomorrow :-) | [reply] [Watch: Dir/Any] [d/l] |
$dom = "skamphausen.de"; ## May The Open Source Be With You!
$Mail = "mail@$dom; $Url = "http://www.$dom";
| [reply] [Watch: Dir/Any] [d/l] |