File: CCstashCallee1.pm

package info (click to toggle)
libdevel-pragma-perl 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 364 kB
  • sloc: perl: 449; makefile: 3
file content (38 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
package CCstashCallee1;

use strict;
use warnings;

use Devel::Pragma qw(ccstash);

our $CCSTASH;

sub test {
    return $CCSTASH;
}

sub import {
    A();
}

sub A() {
    B();
}

sub B {
    C();
}

sub C {
    D();
}

sub D {
    E();
}

sub E {
    $CCSTASH = ccstash;
}

1;