in reply to Re: Camelizing a maitre d'Hotel
in thread Camelizing a maitre d'Hotel

Yes, sure, apostrophe wouldn't be appropriate here.

But how to call it? Maitre::DHotel, Maitre::Dhotel, MaitreD::Hotel, Maitred::Hotel, Maitre::D::Hotel (uh, actually it was kind of sarcasm, I don't need to separate this namespace by 2 parts)

V.Melnik

Replies are listed 'Best First'.
Re^3: Camelizing a maitre d'Hotel
by LanX (Saint) on Feb 03, 2017 at 15:36 UTC
    > Maitre::DHotel, Maitre::Dhotel, MaitreD::Hotel, Maitred::Hotel, Maitre::D::Hotel , oh damn it... :)

    There is no Maitre namespace on CPAN yet.

    Unless you plan to release Maitre::Maison or Maitre::Bordel later, I'd stick with MaitreDHotel.

    see also PadWalker

    ===Update

    But if you insist on creating a new namespace drop the D since the :: could be seen as preposition.

    Maitre::Hotel

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

    UPDATE: typo corected! thanks GotToBTru++

      Oh, thanks, it seems that I forgot to add the MaitredHotel and MaitreDHotel options to this list :)

      Of course, I don't need it to be looking like a class and a subclass, so there shouldn't be :: at all.

      So, generally I'm choosing between MaitreDHotel and MaitredHotel, and MaitreDeHotel.

      :)
      V.Melnik
        Shouldn't it be Hotel::Maitre?