in reply to Re: What does the dash before hash assignment means?
in thread What does the dash before hash assignment means?

The fat comma is a bit of a red herring. The same is true with a regular comma...

fun1( -url, $httpRefer ); fun2( -url, $httpRefer );
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name

Replies are listed 'Best First'.
Re^3: What does the dash before hash assignment means?
by hdb (Monsignor) on Sep 03, 2013 at 10:07 UTC

    Interesting, thanks for this comment! It works in the same way, unless one omits the hyphen. Without it one gets an Bareword "url" not allowed while "strict subs" in use at dash.pl line 9. error.