I tried to put myself in the place of a 13 y/o kid with no programming experience sitting at his Windows/ME machine staring at a screen that looked like:

C:\>perl ashdahskjd kajhsdakjshd

I am aware that play.pl has scoping problems, but once his copy of Programming Perl for Win32 arrives, he may arrive at the point where he knows what scoping is.

I also thought about what would happen if his "favorite editor" is Word.

C:\>perl test.pl Can't open perl script "test.pl": No such file or directory C:\>dir test.pl Volume in drive C has no label. Volume Serial Number is 8C87-E163 Directory of C:\ File Not Found C:\>dir test* Volume in drive C has no label. Volume Serial Number is 8C87-E163 Directory of C:\ 02/09/08 07:18a <DIR> test 02/09/08 05:16p 19,456 test.pl.doc 2 File(s) 19,456 bytes 302,397,440 bytes free C:\>perl test.pl.doc Unrecognized character \xD0 at test.pl.doc line 1. C:\>

Well It's better than the Abottoire, but Yorkshire!

In reply to Re: Re: Re: Perl What for? by BrowserUk
in thread Perl What for? by NoobiePerlist

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.