Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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
    +f
    > quoting an object like that?
    ...
    to recognise the object when you see it, then keeping the entire objec
    +t
    around is just unnecessary bloat; bloat that could cause many hours of
    debugging.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://918585]
Front-paged by Eliya
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-06-25 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (323 votes). Check out past polls.