How to import libraries in Perl? [closed]

0

My question is simple and maybe the solution too ... I am learning Perl, I know how python works, in python to import a library is simple, import is used, but for Perl ... how is it?

    
asked by Alien69 31.07.2018 в 23:08
source

1 answer

1

In Perl, use is used. Example:

 #hola.pl
    use warnings;
    use strict;
    use AlgunaLibreria;

    print "Hola\n";
    
answered by 31.07.2018 / 23:24
source