Link to the relevant thread, FWIW:

http://stackoverflow.com/questions/1155814


Mike

On Sat, Jul 25, 2009 at 4:00 PM, Chris Prather<[email protected]> wrote:
> On Sat, Jul 25, 2009 at 3:51 PM, fREW Schmidt<[email protected]> wrote:
>> Hi all,
>>
>> I am trying to do the following with MX::D:
>>
>> use MooseX::Declare;
>> class fREW with BusinessCard {
>>   method BUILD {
>>      $self->job('Programmer');
>>      my $email = reverse 'moc.li...@xuoirf';
>>      $self->email($email);
>>   }
>> }
>>
>
> This came up recently on StackOverflow. BUILD takes an argument
>
> class Foo {
>      method BUILD ($) { ... }
> }
>
> -Chris
>

Reply via email to