scratchpad
EvanCarroll
Irssi logs of importance<br/>
<code>
22:43 < EvanCarroll> one more question, how did you figure out the version number of something, I asked that question here once and someone showed this neat trick where they supplied an extremly high version number and the error told the real one
22:43 <@mst> perl -MModule::Name\ 999
22:44 < EvanCarroll> cool deal, thanks
22:44 <@mst> learned that one off clkao
22:44 <@mst> bloody handy.
12:13 < PerlJam> EvanCarroll: try ${$::{$package."::"}}{$sub}->() with appropriate values for $package and $sub
Encode::from_to( $data, 'iso-8859-1', 'UTF-8' );
</code>
<code>__PACKAGE__->has_many( 'accessor name' => 'table schema of m2m table', 'fkey on m2m table' );</code>
<ul>
<li>
*accessor name* => This is the method you want this relationship to utilize. If you create a row in a table that has specified a <em>has_many</em> relationship, you can find out what it <i>has_many</i> of by viewing $obj->accessor_name(args)
</li>
<li>
*table schema of m2m table* => This is the [cpan:DBIx::Class] that contains the schema definition of the many-to-many table.
</li>
<li>
*fkey on m2m table* => This is the <strong>column name</strong> of the fkey on the many-to-many table. Rememeber the many-to-many table <strong>must have two</strong> belongs_to relationships defined, this should be the fkey of the many-to-many table that points back to the [cpan:DBIx::Class] that contains this <em>has_many</em> relationship.
</li>
</ul>
<p>__PACKAGE__->many_to_many( 'accessor name' => 'name of has_many accessor', 'name of belongs_to column on m2m table' );</p>
<br /><br />
#perl irc.freenode.net OCT 12 2005<Br>
My ban was tentative, I was tacitly welcomed backed, now lets put that behind us.
<br /><br />## New website of Real Media Analyzer<br />
http://users.i.com.ua/~alexeysp/rma/rma.html
<br /><br />## List of free shells<br />
http://www.ductape.net/~mitja/freeunix.shtml
-my regexen to remove all whitespace in vim.
map <F8> :%s/\v^ +\S@=\|\s+$//g<CR>:echo "Done"<CR>