# MongoDB with Perl
{id: mongodb-with-perl}

## Simple
{id: perl-simple}
![](examples/perl/simple.pl)


## Update
{id: perl-siple-update}
![](examples/perl/simple_update.pl)


## Unique
{id: perl-unique}
![](examples/perl/unique.pl)


## Increment
{id: perl-increment}
![](examples/perl/increment.pl)

{aside}

A counter with autoincremented field
http://docs.mongodb.org/manual/tutorial/create-an-auto-incrementing-field/
{/aside}


## Phonebook
{id: perl-phonebook}
![](examples/perl/phonebook.pl)



