Help for this page

Select Code to Download


  1. or download this
    use xxx;    #imports all of the symbols in @EXPORT
    use xxx (); #imports none of the symbols in @EXPORT
    ...
    use xxx qw(OpenConnection $LoggedOn_user_id); # imports
     # all of the symbols in @EXPORT AND subroutine OpenConnection
     # AND the scalar $LoggedOn_user_id from @EXPORT_OK
    
  2. or download this
    #!/usr/bin/perl
    use warnings;
    ...
    our $LoggedOn_user_id=33;
    our $attempts = 99;
    1;
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    #Note that $attempts is NOT <strike>exported</strike> imported,
    but still #can be accessed by the fully qualified name!