From: Roman Alexis Anastasini <roman.anastas...@gmail.com>
Date: Sat, 6 Oct 2012 03:50:51 +0800
Local: Fri, Oct 5 2012 3:50 pm
Subject: Re: [mongodb-user] What is the preferred method for setting readPreference using perl mongo driver
Have a look here:
Second have a look here:
Dunno the exact perl syntax here, but you should figure it out, as you have the cursor set up. :-)
Hope that helps.
Roman Alexis Anastasini
On Oct 6, 2012, at 3:17 AM, Taylor Fort <taylor.f...@gmail.com> wrote:
> I have a script that's using perl to connect to a mongo cluster through mongos. There is already the Cursor functionality in setting slaveOk, but I was wondering what people are doing to set the readPreference (for example setting it to 'nearest').
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to email@example.com
> To unsubscribe from this group, send email to
> See also the IRC channel -- freenode.net#mongodb
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.