Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

method chaining fails where separate method calls succeed in DBIx::Simple

by Anonymous Monk
on Aug 04, 2011 at 16:36 UTC ( #918585=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
        my $s   = constructor();
        my $dbs = $s->dbs;
        my $r   = $dbs->query($Q);
        my $h = $r->hashes;
  2. or download this
     my $s = constructor();
     my $r = $s->dbs->query($Q);
  3. or download this
    # $self is quoted on purpose, to pass along the stringified version,
    # and avoid increasing reference count.
                query => $query
            }, 'DBIx::Simple::Statement';
            $statements{$self}{$st} = $st;
  4. or download this
    > Also, is there a reason you didnt use Scalar::Util::Weaken instead o
    > quoting an object like that?
    to recognise the object when you see it, then keeping the entire objec
    around is just unnecessary bloat; bloat that could cause many hours of

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://918585]
Front-paged by Eliya
[LanX]: M-x untabify
[choroba]: I don't think they're multiple people. I was told "he or she" sounds old-fashioned and "they" is the way to say it
[pryrt]: Those others were definitely offensive or unequivocably rude, I agree.
[choroba]: (well, it comes from the 14th century, so labelling it as "modern" doesn't seem appropriate)
[Your Mother]: "They" is becoming accepted but it irritates me sometimes. I tend to just pick she or he randomly or try to use "one."
LanX thinks it is appropriate here :)
[Your Mother]: They would think so.
[jdporter]: ok, I need a recipe for piping lines "through" an external program which is itself a filter
[jdporter]: without using a tmp file
[1nickt]: tobyink perl -MTypes::Standard= is_Int -Mstrict -wE 'say 1 if is_Int 1.0'

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (17)
As of 2017-05-24 20:22 GMT
Find Nodes?
    Voting Booth?