Re: Finally a better script!



Henry Law <lawshouse.public@xxxxxxxxxxxxx> wrote:

> On Fri, 29 Apr 2005 22:07:54 +0300, Nikos <hackeras@xxxxxxxxx>
> wrote:
>
[snip]
>>=========================================================
>>my $script = param('select') || "Welcome Page!";
^^^^^^^

[snip]
>> open(FILE, "<../data/text/$script.txt") or die $!;
>
> Where did $script come from? Not this program, evidently.

It was there, you just missed it. I'd guess that maybe you expected
it to not be there. Understandable. :-)


> Now get this: Unless you post code that RUNS and doesn't contain
> unnecessary material unrelated to your question, and show YOUR
> output from it, and explain accurately why it's not doing what you
> thought it should do, then I'm not going to write another word to
> try to help you. Most other people have bailed out already.

I've been lurking, not posting, but I also have little interest in
trying to help someone who admits to being uninterested in Reading
The Fine Manual and other helpful resources.
.



Relevant Pages

  • Re: RFC: Building the Perfect Tabbed Pane (an tutorial article)
    ... manipulation. ... that logic must reside in a script block ... head shouldn't be an issue as long as the script is after the closing ...
    (comp.lang.javascript)
  • Re: Javascript: string detection
    ... this script doesn' work, probably, because of the wrong syntax. ... A complete syntax check is better left to the server where existing code is more readily available and not a burden on the client. ... Be aware that even the regular expression above is restrictive as it won't accept literal IPv6 addresses, those that contain display names, or comments in some locations. ...
    (comp.lang.javascript)
  • Re: Grep and mv
    ... Or just the ones you have created with the script? ... > My silly little grep script extracts the names as ... > The error messages I get when running this script are: ...
    (comp.unix.shell)
  • Re: Need Help with my script logic
    ... Below is the complete script. ... the hidden inputs get populated after the following on the form: ... the other relevant fields are pretty much everything that takes data ...
    (comp.lang.javascript)
  • Re: Unix scripts
    ... operations at the beginning of the script while calling it after ... > If no file is given on the command line or all file lines were read, ... > The system calls echo and printf are frequently used for the file line ...
    (comp.unix.programmer)