Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

mintywalker (7886)

mintywalker
  (email not shown publicly)
http://sysmonblog.co.uk/
+ -

  Journal: Moose sub types : one module or another on 2009.07.19 11:00

Journal by mintywalker on 2009.07.19 11:00
User Journal

My initial problem:

How to tell Moose that an attribute was an instance of My::Class OR My::Test::Class.

Whaddaya know, there is more than one way to do it ;)

Seeing as how I got a lot of help from #moose on irc.perl.org I thought I'd write up my findings ...

How to create your own Moose sub types in Perl

Read More 0 comments

+ -

  Journal: Upgrading debian packages with newer cpan releases on 2009.07.11 10:23

Journal by mintywalker on 2009.07.11 10:23
User Journal

I do all my cpan package/module management via debian's apt(itude) tool.

It works really well (for me) with one fairly major exception. Figuring out how to build packages/deb files is a bit complex.

It seems to be one of those problems that has so many different ways to do it and/or so many pitfalls that newbie dummies like me struggle. However once over that hurdle I have found using apt to be really nice.

Read More 0 comments

+ -

  Comment: possible solution (Score 1) on 2009.03.19 14:11

by mintywalker on 2009.03.19 14:11 (#67869)
Attached to: Numeric values in DBIC

I know this sort of thing works (on Postgres)

        find({ date => \'>= Current_Timestamp' })

so I'm thinking you want something like:

    my $version = $map->os_version;
    # equality
    find({ version => \"= $version" })
    # greater than or equal to
    find({ version => \">= $version" })

Read More 4 comments
Comments: 4