On Mon, Jan 05, 2009 at 07:43:00AM -0600, Howard R. Hamilton wrote:
[...]
> I have only dabbled in Perl a bit, but when I implemented the change suggested
> below, emacs' syntax highlighting indicated an unclosed single apostrophe in
> the previous function that might also be a problem. The offending line looks
> like this:
>
> &config'writeconfig($listdir, $opt_l);
This is obsolete perl syntax. More modern perl would write that line as:
config::writeconfig($listdir,$opt_l);
However, it still works with the apostrophe.
> Is that correct syntax for Perl, or should I close that single apostrophe at
> the end of that line. It is the last line in that function.
Don't touch it :-)
Kent
References:
|
|