From 8ba24b786bf99b92bb65727d0c252f430624cb92 Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Tue, 1 Aug 2017 17:13:32 -0700 Subject: [PATCH] typo '-' => '->' --- lib/MongoDB/GridFSBucket.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MongoDB/GridFSBucket.pm b/lib/MongoDB/GridFSBucket.pm index 5ae9fff0..4faf7104 100644 --- a/lib/MongoDB/GridFSBucket.pm +++ b/lib/MongoDB/GridFSBucket.pm @@ -575,7 +575,7 @@ __END__ $stream->close; # find and download a file - $result = $bucket-find({filename => "foo.txt"}); + $result = $bucket->find({filename => "foo.txt"}); $file_id = $result->next->{_id}; $stream = $bucket->open_download_stream($file_id) $data = do { local $/; $stream->readline() };