"Drieux" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

> Besides I still feel squishy about the fact that
> I can run perl modules as 644 - which just seems
> unNatural to moi....

The executeable bit is only necessary so your shell will use the first line
in the program to hand off the rest of the file contents to the interpreter
specified. You can run the program itself at 644 (or 444, or even 400 if you
own the file) if you pass the filename as an argument to the perl
interpreter. required()d and use()d files need only to be readable so the
interpreter can get the contents of the file to compile in with the rest of
the program. But.... this has nothing to do with perl. or cgi.

> CONUS i figure the basic notion of 'ask enough dumb questions
> who knows you may learn something.' So cut the cat some slack.

Hey Im a newbie too, Ive just been doing this a little longer (probably not
even a little longer... just a little better) than most people asking
questions in here. I didnt say it was a dumb question. Ive asked myself the
same questions also. Note MYSELF.

I think the people that reply to posters questions and do nothing more than:

perl -e 'require ./posters_problem.pl; print the_sloution();'

and say nothing more about how the poster can help theirself next time they
run into the same problem does the perl community a big disservice, because
the person is going to be back in here asking the same question if there is
even the smallest variation in the implementation of the problem they are
tackling. Why??? Because they didnt learn anything, they just copied your
answer and pasted it into the program.

I do my homework, so should everyone else. When I answer a poster's
question, I imagine what response would give me the most benefit. Trucking
through the days posts and dumping the solutions is not going to teach
anyone anything. My proof? perl.beginners and perl.beginners.cgi is a place
where its pc to ask frequently asked questions. Over and over.

Its too bad I get flamed for suggesting the poster figure it out theirself.
It goes to show how many people "want the answer" as opposed to actually
learning how to answer the question.

As far as the topic in the subject, it is not a perl issue. When you want to
write in a file or execute a program, the permissions you choose have
nothing to do with the language you choose or if you are executing code in a
CGI environment, so no, the topic is totally irrelevant to the issue.

If I am wrong here, how 'bout letting me know in straightforward english. I
am not here to play cards.

Todd W.



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to