Messed up my reply, sorry Jeremy...
Jeremy Zawodny wrote:
>
> On Wed, Mar 20, 2002 at 06:49:08PM +1100, [EMAIL PROTECTED] wrote:
>
> > These guys seem to think if it is not if-then-else, it is
> > weird. Sigh.
>
> So what is it, really, about Perl that makes it "so different" from
> other languages.
>
My experience as trying to teach perl to my teammates :
> Much Perl code that I've read looks less like Java, C++, Python, or
> VB. It tends closer to C, Shell, awk, sed, etc.
This may be due to the fact that perl object is an horror due to
the lack os syntax suggar :
my $this = shift;
$this->{'foo'} = 'bar';
my $this = bless {}, shift .... etc....
(I admit I did not follow how it is now in post 5.005_03)
use base, our, use fields, etc may helps put perhaps it is a little late
>
> Is it the regular expressions?
This really looks hackward to most people : maybe the problem is
in the documentation : perl is a langage by itself whithout RE :
RE may be presented as something optional in the documentation of perl.
> The MTOWTDI?
This is definetely a problem for new users... in any language...
An other point is that 'advanced feature' of perl are so clean/efficent
that any good perl programmer will tend to use them often, leading
to a program that will need a big amount of perl knowledge to understand
thus it may disgust the beginner perl coder,
(you may think about :
- RE
- schwatrzian transform
- AUTOLOAD
- eval {} and eval ""
)
Just my contribution :)
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com