I have a perl file test_1.pl like:
Expand|Select|Wrap|Line Numbers
- #!/usr/bin/perl
- sub Test;
- sub Test {
- printf "==========================Hello, perl.\n";
- return 0;
- }
Expand|Select|Wrap|Line Numbers
- #!/usr/bin/perl
- #include <test_1.pl>
- sub main;
- sub main {
- Test;
- }
- main;
So can some help me to know how to include a perl file and makes the file mentioned above to work?
Thanks