in reply to Re^3: 2*pi*$r -- constant function without prototype
in thread 2*pi*$r -- constant function without prototype

As long as your going to use ${} to interpolate vars into strings, which is generally a good idea. Then you can use constants in a similar way with a single extra '\' character:

use constant NL => "\012";; print "fred${\NL}bill${\NL}";; fred bill

Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^5: 2*pi*$r -- constant function without prototype
by parv (Parson) on May 01, 2008 at 22:57 UTC
    (: Reminds me of creating alias (in a bourne-like shell) to refer to the real command, not another alias (alias ls="\ls -F" ; alias ll="\ls -la").