in reply to Re: Re: Re: Duplicate data record
in thread Duplicate data record

I'm Juerd, not vroom :)

You used a die() in your unless-block anyway, so your code will also cause a 500 error. I think having structured code when a simple "or die" suffices is overkill...
I agree on your script being more clear to those who already know another language, but did you learn Perl to code the way you always did? I sure didn't: I learnt perl because I like the perlish way. But that's personal, and I can think of good reasons to code in an unperlish way.

P.S. There's nothing greater than the invisible $_ game - if you know the rules.

2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Duplicate data record
by strat (Canon) on Dec 20, 2001 at 19:21 UTC
    Hi Juerd,

    sorry for calling you vroom, I have already changed it.
    With die, I was silly; I wanted to use a print, but haven't :-(

    As I started with perl, I used it like C, because at that time it was the language I used most often. That helped me to get results very early. Then, as I read some books about perl and some other's people code and wrote several programs, over the years developed my own perl-programming-style.

    In my eyes, a way from the already known facts to the new, unknown ones is always best. But about teaching, I should keep my line and do not so many errors ;-)

    Btw: congratulations, monk :-)

    Best regards,
    perl -e "print a|r,p|d=>b|p=>chr 3**2 .7=>t and t"