Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: The App:: namespace? Sharing a webapp on CPAN

by b10m (Vicar)
on May 09, 2008 at 12:41 UTC ( #685655=note: print w/replies, xml ) Need Help??

in reply to Re^2: The App:: namespace? Sharing a webapp on CPAN
in thread The App:: namespace? Sharing a webapp on CPAN

I'm not sure what you want to point out with that link. I know there are scripts there, but that doesn't change my opinion that it's not the best space for scripts to begin with. HTML::Template can also be found on freshmeat. Not the best place IMHO.

  • Comment on Re: The App:: namespace? Sharing a webapp on CPAN

Replies are listed 'Best First'.
Re^2: The App:: namespace? Sharing a webapp on CPAN
by Anonymous Monk on May 12, 2008 at 14:28 UTC

    Where do you think is a good place for fairly short scripts (as opposed to large "apps" that might merit their own google-code/freshmeat/whatever)?

      Most scripts can benefit from putting the functionality within a module. In that case, you're distributing the module and the script comes along with it. cpan, pod2html, and many others most people take for granted fall into this category.

      Benefits include:

      • Easier to test because you're testing a module
      • Easier to reuse in many scripts
      • Easier to subclass for other people

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

      If scripts are too small for sourceforge, it's probably a quick hack to perform task X. Cool Uses For Perl looks like a good place, or Snippets.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://685655]
[Lady_Aleena]: What?! Can't stat ~/Music: No such file or directory? The ~/ doesn't expand?
[Lady_Aleena]: And the env variable $HOME doesn't work either. !@#$
[shmem]: no, that's a shell feature. Use $ENV{HOME}
[marioroy]: my $ans = qx{ find \$HOME -name "*.pl" -exec ls -l {} \\; };
[marioroy]: must backslash $ inside qx
[Lady_Aleena]: I haven't written perl for a while, I've been trying to do things at the command line. I'm having to relearn a lot.
[marioroy]: LA can you post the qx find again
[Lady_Aleena]: Things I would have written a script for while I was on Windows, I can run simply on the command line.
[Lady_Aleena]: marioroy, my @music_times = qx(find ~/Music/Albums/ -type f -iname '*.mp3' -exec mp3info -p "%S\n" {} \;); #unfixed

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (13)
As of 2017-04-23 21:05 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (432 votes). Check out past polls.