in reply to Re^5: Creating a random generator
in thread Creating a random generator
Thank you for pointing out those problems with that tutorial to me. It had me hooked with the magic words of "web development" and by the way it looked. I didn't look at it as closely as you did. It is hard to find a Perl site that is geared specifically for web development. It is also hard to find a site about Perl that is written for the person who comes from markup or nothing at all. Perl Monks is a great resource, but it is kind of hard going through the tutorials here. That is why I keep having to ask questions. I hope one day to be able to start answering questions, but until then I hope the Monks will continue to put up with me until I can wrap my head around Perl.
I read that article on AJAX, and I will probably not use it as I have no XML on my site. I will also only use javascripts written by others as the last time I tried writing one on my own, I blew it big time since javascript is so bloody difficult.
Could you possibly point me to a page here or elsewhere that will show me the different ways a Perl script can be indexed?
About some of the points you raised for the errors on that site.
I wondered what Perl means. Win is short for Windows, is Perl short for something? You also made me look up the word shibboleth, good for you...I learned a new word.
You are right about Perl being a pain in the rear to use at times, but it is much easier than javascript.
File extensions requirements may be a relatively new to those reading that tutorial. With html, one could use .htm or .html, so a singular file extension requirement may trip up newcomers. The file names without spaces thing baffles me as much as it seems to be baffling you.
As for the use statements at the beginning of Perl scripts. They are not required to make a script work as far as I can tell.
The use of use strict is like choosing between using html or xhtml and between transitional *html and strict *html. If one doesn't want strict, one shouldn't have to put it in their script.
Turning on warnings for web scripts is mostly a waste of space if the warning messages don't get through to the programmer. Some web servers wouldn't show the errors no matter what you added up in use. I am a victim of that. For me it is a fluke if I get a warning with the following in my code.
use CGI::Carp qw(fatalsToBrowser);
For simple scripts, scalars will (generally) hold only numbers or strings. So, for the simple programmer, that's all that (IMO) they need to know to start. Don't bog the newbie down with too much all at once.
Newbies probably wouldn't know what interpolation or concatenation is. Even I have a hard time figuring those out. I have a small clue about what those words mean but still have to look them over and over again.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Creating a random generator
by blazar (Canon) on Sep 30, 2007 at 22:26 UTC | |
by Lady_Aleena (Priest) on Oct 03, 2007 at 09:32 UTC | |
by blazar (Canon) on Oct 03, 2007 at 23:08 UTC |