File: Test_DeepImport.pm

package info (click to toggle)
liblog-trace-perl 1.070-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 180 kB
  • ctags: 42
  • sloc: perl: 859; makefile: 44
file content (25 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/local/bin/perl -w
# $Id: Test_DeepImport.pm,v 1.3 2004/11/19 12:53:32 simonf Exp $
package Test_DeepImport;
use vars '$VERSION'; $VERSION = 0.00001;

use strict;

sub new {
    TRACE('Creating object');
    return bless \do {my $x}, shift;
}

sub hello { TRACE('Hello World!') }
sub first { &next }
sub next  { TRACE('IN NEXT') }
sub ether { TRACE('How did we get here?') }

sub TRACE {}
sub DUMP  {}

package Test_DeepImport_Without_TRACE;

sub test {1};

1;