Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: First attempt at a module

by ColtsFoot (Chaplain)
on May 21, 2004 at 07:13 UTC ( [id://355201]=note: print w/replies, xml ) Need Help??


in reply to First attempt at a module

You should try and call the sub from your mod.pl script
mod.pl #!/usr/bin/perl use warnings; use strict; use TestPrint qw(test_print); test_print();
The result of running mod.pl will be the output "hello world" on STDOUT
Hope this helps

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://355201]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found