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
|
---|
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 |