in reply to OOP
I'll admit that my approach to programming in perl may be wrong, but i like challenges, however stupid they may make me. All of your points were 100% valid Ovid, and i'll agree with you to a certain extent. I will admit that i do use certain modules, ie DBI and the DBD modules... Even though i avoid cgi.pm, i do not avoid use strict;, -w, and -t. I'm not all that stupid ya know ;).
The main reason's why i don't use cgi.pm...
file uploading: It's ridiculously the simple way out for beginners... i chuckle when i see upload engines made with cgi.pm because it involves no actual parsing of code. If you look at any perl directory (hotscripts.com, perlarchive.com, cgi-resources.com), anything related to file uploading uses cgi.pm. It bothered me to see all programs which root back to the same place. Until i fully understand how cgi.pm (just one of many modules) works, i'll try to work my own way out of situations not because i'm full of pride, but just because it wouldn't be fair to myself.
Parsing query strings: i will sooner or later use cgi.pm for parsing just because it is the smarter way to deal with situations. For my scripts right now, i think that the code provided suits me well. I also don't use cgi.pm cuz that has OOP in it (going back and forth here), so that's why i want to get a good grep() on OOP. I shouldn't have said "as effective as cgi.pm" though.. sorry
I would love to get u'r opinion on my upload engine though Ovid. I know i'll get more people telling me i should use modules, and i will, when i learn to do what they do for the most part.
Forgot to thank everyone for their comments on OOP.. thanx :D. Thanks for the lil' talk Ovid.
The main reason's why i don't use cgi.pm...
file uploading: It's ridiculously the simple way out for beginners... i chuckle when i see upload engines made with cgi.pm because it involves no actual parsing of code. If you look at any perl directory (hotscripts.com, perlarchive.com, cgi-resources.com), anything related to file uploading uses cgi.pm. It bothered me to see all programs which root back to the same place. Until i fully understand how cgi.pm (just one of many modules) works, i'll try to work my own way out of situations not because i'm full of pride, but just because it wouldn't be fair to myself.
Parsing query strings: i will sooner or later use cgi.pm for parsing just because it is the smarter way to deal with situations. For my scripts right now, i think that the code provided suits me well. I also don't use cgi.pm cuz that has OOP in it (going back and forth here), so that's why i want to get a good grep() on OOP. I shouldn't have said "as effective as cgi.pm" though.. sorry
I would love to get u'r opinion on my upload engine though Ovid. I know i'll get more people telling me i should use modules, and i will, when i learn to do what they do for the most part.
Forgot to thank everyone for their comments on OOP.. thanx :D. Thanks for the lil' talk Ovid.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: OOP
by chromatic (Archbishop) on Feb 03, 2002 at 23:16 UTC | |
by CharlesClarkson (Curate) on Feb 03, 2002 at 23:39 UTC | |
by Matts (Deacon) on Feb 04, 2002 at 07:56 UTC | |
Re (tilly) 2: OOP
by tilly (Archbishop) on Feb 03, 2002 at 22:48 UTC | |
Re: Re: OOP
by BazB (Priest) on Feb 03, 2002 at 21:44 UTC | |
Re: Re: OOP
by jryan (Vicar) on Feb 04, 2002 at 07:46 UTC |
In Section
Seekers of Perl Wisdom