in reply to Re: Re: Error in Camel Book Ver2?
in thread Error in Camel Book Ver2?

syntax error at or.pl line 1, near "|| ="
That's a Perl4 (or earlier) error message. Please upgrade to a version of Perl that was released sometime after the Spice Girls hit the pop charts.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Re: Re: Error in Camel Book Ver2?
by marius (Hermit) on Dec 21, 2000 at 21:36 UTC
    merlyn, I've gotta say this was a great laugh for this morning =] Maybe future versions of perl should be named after the current music sensation of the time of release. =]

    [marius@marius.org ~]$ perl -v This is perl, the N'Sync version built for i386-freebsd Copyright 1987-1999, Larry Wall ...

    -marius
Re: Re: Re: Re: Error in Camel Book Ver2?
by ichimunki (Priest) on Dec 21, 2000 at 21:35 UTC
    Perl 4 didn't support overloading = with ||?

    If so, did it support the = and || operators?

    And if so, couldn't we use this: $value = $value || 'DEFAULT'; to accomplish the same thing?

    (Not that I don't support the idea of upgrading Perl to a recent version, but the Spice Girls are pretty old news themselves. *grin*)