Eric Wilhelm <[EMAIL PROTECTED]> writes: > program_name => 'bin/foo'; > > Would expect $bin::foo::VERSION and give you a 'bin-foo-v0.0.1.tar.gz' > tarball.
'bin/foo' is the program file name. 'bin::foo' is the program name. Actually, I'd say 'foo' is the program name. This would lead to: program_name => 'bin::foo'; or program_file => 'bin/foo'; which can be shortened to the most elegant form: program => 'foo'; > But, for this discussion, does setting program_name => 'cgi-bin/foo' > translate into searching for $cgi::bin::foo::VERSION, or > $cgi_bin::foo::VERSION, or something else? This is mostly solved by the above. In general, a substitution s/\W+/_/g would be acceptable. 'cgi-bin' -> 'cgi::bin' would lead to errors if you also have a perfectly valid 'cgi/bin'. -- Johan
