in reply to Re: Re: Noble DOT vs the Allmighty ARROW
in thread Noble DOT vs the Allmighty ARROW

I don't like it either. But on the plus side, you will be able to use the hyper concantenation operator.
print _("Blah blah",$d->func,"somewhat");
When perl6 makes it's debut, I will probably use this form exclusively. It's too hard to tell at a glance between $foo_bar and $foo _ bar on my screen.

-Lee

"To be civilized is to deny one's nature."

Replies are listed 'Best First'.
Re: Re: Re: Re: Noble DOT vs the Allmighty ARROW
by cowens (Beadle) on May 09, 2002 at 18:45 UTC
    Nifty, I didn't know about _(). Although the example might be better put
    $string = _("Blah blah",$d->func,"somewhat");
    since
    print "Blah blah ", $d->func, " somewhat";
    works today. What I am worried about is not $foo_bar vs $foo _ $bar but rather the later vs $foo - $bar. When we used the . operator a mis-shift would result in $foo > $bar which is easily seen even when you are skimming code.
      Duh. You're right, bad example.

      -Lee

      "To be civilized is to deny one's nature."