~ubuntu-branches/ubuntu/trusty/libperl5i-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/perl5i/cmd.pm

  • Committer: Bazaar Package Importer
  • Author(s): Ivan Kohler
  • Date: 2010-05-08 17:42:00 UTC
  • Revision ID: james.westby@ubuntu.com-20100508174200-7ogg0zrimh9gvcuw
Tags: upstream-2.1.1
ImportĀ upstreamĀ versionĀ 2.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package perl5i::cmd;
 
2
 
 
3
# This is a shim for the perl5i command line utility to use.
 
4
 
 
5
use parent 'perl5i::latest';
 
6
 
 
7
sub import {
 
8
    my($class, $name) = @_;
 
9
 
 
10
    # Make the program identify as perl5i
 
11
    $^X = $name;
 
12
 
 
13
    goto &perl5i::latest::import;
 
14
}
 
15
 
 
16
1;