in reply to print_notice or print $notice or print notice?
And, if ever internationalisation becomes an issue, you can change the text to suit:use constant NOTICE => 'please be sure that XXX is installed first'; # many lines later print NOTICE;
if ($language eq 'perlmonks_terse') { use constant NOTICE => 'do perlfaq XXX, use strict; and use CGI;'; } elsif ($language eq 'aussie') [ use constant NOTICE => 'install the bloody XXX first, you dopey dr +ongo'; } else { use constant NOTICE => 'please be sure that XXX is installed first +'; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: print_notice or print $notice or print notice?
by wog (Curate) on Oct 14, 2001 at 22:24 UTC | |
|
Re: Re: print_notice or print $notice or print notice?
by tstock (Curate) on Oct 14, 2001 at 23:53 UTC | |
|
Re: Re: print_notice or print $notice or print notice?
by Anonymous Monk on Oct 14, 2001 at 22:34 UTC |