Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Use, Exporter, I'm Dizzy.

by logie17 (Friar)
on Feb 07, 2007 at 17:00 UTC ( [id://598820]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    use warnings;
    ...
    use test();
    my $output = testroutine();
    print $output, "\n";
    
  2. or download this
    #! /usr/bin/perl
    use warnings;
    ...
    use test;
    my $output = testroutine();
    print $output, "\n";
    
  3. or download this
    Undefined subroutine &main::testroutine called at ./test.pl line 8.
    
  4. or download this
    $ perl -e 'map {print $_,"\n"} @INC'
    /usr/lib/perl5/5.8/cygwin
    ...
    /usr/lib/perl5/vendor_perl/5.8/cygwin
    /usr/lib/perl5/vendor_perl/5.8
    .
    
  5. or download this
    #! /usr/bin/perl
    use warnings;
    ...
    use test();
    my $output = testroutine();
    print $output, "\n";
    
  6. or download this
    This is a test
    
  7. or download this
    sub testroutine {
            return "This is a test";
    }
    1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-29 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found