Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

RE (tilly) 1: Versioned modules

by tilly (Archbishop)
on Oct 13, 2000 at 18:45 UTC ( [id://36590]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #! /usr/bin/perl
    # See comments in Versioning about warnings
    ...
      report_version("Procedural");
      report_version versioned_module("OO");
    }
    
  2. or download this
    use vars qw(@EXPORT_OK);
    @EXPORT_OK = qw(report_version);
    ...
      my $ver = __PACKAGE__;
      print "Got version $ver through $arg interface\n";
    }
    

Log In?
Username:
Password:

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

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

    No recent polls found