Tony Esposito wrote:
> In C, you can define a constants - "variables" whose contents can not
> be changed.
> Is there any way to do this in Perl?  There are some variables I use
> that I would love to set as a constant.
>
Hi Tony.

Try this:

    use constant BUFFER_LENGTH => 64;

more documentation from:

    perldoc constant

HTH,

Rob




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to