DOKK / manpages / debian 12 / librecommended-perl / suggested.3pm.en
suggested(3pm) User Contributed Perl Documentation suggested(3pm)

suggested - Load suggested modules on demand when available

version 0.003

    use suggested 'Foo::Bar', {
        'Bar::Baz' => '1.23',
        'Wibble'   => '0.14',
    };
    if ( suggested->has( 'Foo::Bar' ) ) {
        # do something with Foo::Bar
    }

This works just like recommended, but a suggestion is less strong than a recommendation. This is provided for self-documentation purposes.

David Golden <dagolden@cpan.org>

This software is Copyright (c) 2014 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004
2022-06-17 perl v5.34.0