Help for this page

Select Code to Download


  1. or download this
    package Foo;
    
    ...
    
        bless $self, $class;
    }
    
  2. or download this
    #!/tool/bin/perl -w
    use strict;
    ...
    use My::Foo 1.0;
    
    printf("version = %s\n", $Foo::VERSION);
    
  3. or download this
    My::Foo defines neither package nor VERSION--version check failed at .
    +/foo_version_test.pl line 4.
    BEGIN failed--compilation aborted at ./foo_version_test.pl line 4.
    
  4. or download this
    /home/user/perl_modules/lib/perl5/My/FooVersion
        1.0/
    ...
            Foo.pm
        Devel/
            Foo.pm
    
  5. or download this
    use My::FooVersion::Devel::Foo;
    
  6. or download this
    use My::FooVersion::1.1::Foo;
    use "My::FooVersion::1.1::Foo";
    use My::FooVersion::"1.1"::Foo;
    use My::FooVersion::'1.1'::Foo;
    use 'My::FooVersion::1.1::Foo';