<?xml version="1.0" encoding="windows-1252"?>
<node id="186455" title="Re: Re: Re: mmmmmmm" created="2002-07-31 05:10:20" updated="2005-08-14 19:19:48">
<type id="11">
note</type>
<author id="7824">
frankus</author>
<data>
<field name="doctext">
Well if this is going to turn into a wish list...
&lt;code&gt;
sub Purchase::All_Night_Garage::Lighter::Clipper {
   my $self = shift;
   
   # Dude, purchase is like, er theft, but you pay for it.
   use Tax::Lighter::Clipper;
   my $clipper = Tax::Lighter::Clipper-&gt;new();

   # Makes sense to have another module for trying to get
   # loose change out of front pocket of tight jeans.
   my $cost = Stoner::fumbling::pocket-&gt;new();

   $self-&gt;draw($cost);
   push @{$self-&gt;{assets}}=@_ unless $self-&gt;random_forgetfulness;

   return 'home';
}


# Mutator method:
sub Purchase::All_Night_Garage::Rizla::Kingsize($){
   my $range = { blue=&gt;'master', red=&gt;'novice' };
   return 0 unless exists($range-&gt;{$_[1]});

   $_[0]-&gt;{rizla}-&gt;{colour} = $_[1];
}

   

&lt;/code&gt;
&lt;p&gt;--&lt;br&gt;&lt;/br&gt;
&lt;i&gt;Brother &lt;A HREF="/index.pl?node=Frankus&amp;lastnode_id=1072"&gt;Frankus&lt;/A&gt;.&lt;/i&gt;
&lt;p align="center"&gt;&amp;#164;&lt;/p&gt;
&lt;!-- As with Perl and Linux, there are a wealth of smart asses who've been there done that ;) --&gt;</field>
<field name="root_node">
185241</field>
<field name="parent_node">
186380</field>
</data>
</node>
