Hi

I'm on a rather silly mission to install a great perl script on my mac called pizza_party that allows you to order pizzas from dominos.com on the command line.

Pizza Party

It requires the following perl modules:

LWP::UserAgent; HTTP::Request; HTTP::Response; HTTP::Cookies; URI::Esc +ape; Getopt::Mixed;


They are all installed using sudo cpan. But for some reason Getopt doesn't seem to be working.

Mazdayasna:~ bluethundr$ pizza_party Can't locate Getopt/Mixed.pm in @ +INC (@INC contains: /Library/Perl/Updates/5.8.8 /System/Library/Perl/ +5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/ +Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Pe +rl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Li +brary/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5. +8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Lib +rary/Perl/5.8.6 /Library/Perl/5.8.1 .) at /opt/local/bin/pizza_party +line 14.
As would be suggested by cpan:
cpan[1]> install Getopt::Mixed CPAN: Storable loaded ok (v2.19) Going +to read /Users/bluethundr/.cpan/Metadata Database was generated on Mo +n, 03 Aug 2009 04:27:49 GMT Getopt::Mixed is up to date (1.10).


Also I tried modifying the .bash_profile in my home directory so my manpath would accept a directory called ~/man

and moved the man page for the app there. but the mac won't recognize it. any help getting the man page registered and the app to work?

thanks!

In reply to pizza_party cool perl script by bluethundr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.