in reply to Re^3: Meaning of 'use constant USAGEMSG = > ...'
in thread Meaning of 'use constant USAGEMSG = > ...'

hum, I had tested

BEGIN { $c = <<USAGE; What do you mean, too late? USAGE use constant USAGEMSG => $c; }

and

BEGIN { $c = <<USAGE; What do you mean, too late? USAGE } use constant USAGEMSG => $c;

and both gave me the same error. Maybe the file wasn't properly saved for the second test?

Thanks for verifying; it puzzled me.