File: OtherTypes.pm

package info (click to toggle)
libautodie-perl 2.10-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 528 kB
  • ctags: 305
  • sloc: perl: 4,012; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package OtherTypes;
no warnings;

our $foo = 23;
our @foo = "bar";
our %foo = (mouse => "trap");
open foo, "<", $0;

format foo =
foo
.

BEGIN {
    $main::pvio = *foo{IO};
    $main::pvfm = *foo{FORMAT};
}

sub foo { 1 }

use autodie 'foo';

1;