in reply to dump-static-nodes.pl - Pull content from your webserver according to .htaccess
Are you trying to force the references into list context with the parentheses? It won't work. Are you using the parentheses because my takes a list and will affect subsequent list members? It doesn't:GetOptions( 'wwwroot:s' => (\my $wwwroot), 'staticdir:s' => (\my $outdir), 'server:s' => (\my $server), 'node:i' => (\my @nodes), 'htaccess:s' => (\my $htaccess), 'savepath:s' => (\my $savepath), );
$ perl -Mwarnings -Mstrict -e' my $x, $y;' Parentheses missing around "my" list at -e line 1. Global symbol "$y" requires explicit package name at -e line 1. Execution of -e aborted due to compilation errors.
|
|---|