Like Juerd said, this is a FAQ, `perldoc -q script'
Found in C:\Perl\lib\pod\perlfaq1.pod
  Is it a Perl program or a Perl script?
    Larry doesn't really care. He says (half in jest) that "a script is what
    you give the actors. A program is what you give the audience."

    Originally, a script was a canned sequence of normally interactive
    commands--that is, a chat script. Something like a UUCP or PPP chat
    script or an expect script fits the bill nicely, as do configuration
    scripts run by a program at its start up, such .cshrc or .ircrc, for
    example. Chat scripts were just drivers for existing programs, not
    stand-alone programs in their own right.

    A computer scientist will correctly explain that all programs are
    interpreted and that the only question is at what level. But if you ask
    this question of someone who isn't a computer scientist, they might tell
    you that a *program* has been compiled to physical machine code once and
    can then be run multiple times, whereas a *script* must be translated by
    a program each time it's used.

    Perl programs are (usually) neither strictly compiled nor strictly
    interpreted. They can be compiled to a byte-code form (something of a
    Perl virtual machine) or to completely different languages, like C or
    assembly language. You can't tell just by looking at it whether the
    source is destined for a pure interpreter, a parse-tree interpreter, a
    byte-code interpreter, or a native-code compiler, so it's hard to give a
    definitive answer here.

    Now that "script" and "scripting" are terms that have been seized by
    unscrupulous or unknowing marketeers for their own nefarious purposes,
    they have begun to take on strange and often pejorative meanings, like
    "non serious" or "not real programming". Consequently, some Perl
    programmers prefer to avoid them altogether.

I personally stopped caring a long time ago. With perl I use both terms interchangably, but don't generally call javascript I write programs.

update: What the hey? Consciousness? I guess I missed that word. Consciousness is a state, so the answer is I still don't care :)(both or neither, not one or the other)

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.


In reply to Re: Script or program? by PodMaster
in thread Script or program? by jeffpflueger

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.