in reply to Re: Re: Re: Loading a Hash directly from a Regex
in thread Loading a Hash directly from a Regex

It's fair point around here but for novice or unperlish programmer using a = sign in the statement indicates there is an assignment going on.
... which is exactly why you shouldn't use it, because in =~, there is no assignment going on!

-- Randal L. Schwartz, Perl hacker

  • Comment on Re: Re: Re: Re: Loading a Hash directly from a Regex

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Loading a Hash directly from a Regex
by hakkr (Chaplain) on Feb 15, 2002 at 09:18 UTC
    Shot foot there then, maybe I meant comparison instead of assignment. I suppose there is an assignment to the special vars. Maybe we need a ==~ operator or an eq~ or maybe my confusion has defeated me.