xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
Along with programing in perl deeply, I found a strange comma in many occasions, especially in config context. for example
use ExtUtils::MakeMaker; $Verbose = 1; WriteMakefile( NAME => 'Mytest2::mylib', SKIP => [qw(all static static_lib dynamic dynamic +_lib)], clean => {'FILES' => 'libmylib$(LIB_EXT)'}, );
# Configure the application __PACKAGE__->config( name => 'MyApp', setup_components => { except => qr/SCCS/ }, );
I'm just curious about the last comma. As usual sense, the last item is no need to add a comma.
Hope monks could enlighten me! TIA
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: strange comma
by stevieb (Canon) on Jun 29, 2010 at 02:52 UTC | |
|
Re: strange comma
by tcurtis (Acolyte) on Jun 29, 2010 at 02:43 UTC | |
by fullermd (Vicar) on Jun 30, 2010 at 00:14 UTC | |
by ikegami (Patriarch) on Jun 30, 2010 at 00:43 UTC | |
by Anonymous Monk on Jun 29, 2010 at 11:45 UTC | |
|
Re: strange comma
by Your Mother (Archbishop) on Jun 29, 2010 at 06:37 UTC | |
|
Re: strange comma
by ikegami (Patriarch) on Jun 29, 2010 at 05:51 UTC | |
|
Re: strange comma
by CaMelRyder (Pilgrim) on Jun 29, 2010 at 14:05 UTC | |
by Your Mother (Archbishop) on Jun 29, 2010 at 16:48 UTC |