there is a die"" in the MongoDB.connect :(

On Mon, Jan 14, 2013 at 4:47 PM, Jeff Squyres (jsquyres) <jsquy...@cisco.com
> wrote:

> That's weird.  Why would an "eval" fix this situation?
>
>
> On Jan 14, 2013, at 8:15 AM, svn-commit-mai...@open-mpi.org wrote:
>
> > Author: miked (Mike Dubman)
> > Date: 2013-01-14 08:15:54 EST (Mon, 14 Jan 2013)
> > New Revision: 1575
> > URL: https://svn.open-mpi.org/trac/mtt/changeset/1575
> >
> > Log:
> > fixes #1696
> >
> > Text files modified:
> >   trunk/lib/MTT/Reporter/MTTMongodb.pm |     2 +-
> >   1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > Modified: trunk/lib/MTT/Reporter/MTTMongodb.pm
> >
> ==============================================================================
> > --- trunk/lib/MTT/Reporter/MTTMongodb.pm      Fri Jan  4 14:39:57 2013
>      (r1574)
> > +++ trunk/lib/MTT/Reporter/MTTMongodb.pm      2013-01-14 08:15:54 EST
> (Mon, 14 Jan 2013)      (r1575)
> > @@ -117,7 +117,7 @@
> >
> >       if($enable_mongo == 1)
> >       {
> > -             eval "$conn = MongoDB::Connection->new(host => $url);";
> > +             $conn = MongoDB::Connection->new(host => $url);
> >               if(defined($conn))
> >               {
> >                       $db = $conn->mlnx_mtt;
> > _______________________________________________
> > mtt-svn mailing list
> > mtt-...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/mtt-svn
>
>
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> _______________________________________________
> mtt-devel mailing list
> mtt-de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-devel
>

Reply via email to