File: Debug.pm

package info (click to toggle)
libcdk-perl 20240606-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,732 kB
  • sloc: perl: 6,146; sh: 3,599; makefile: 28
file content (25 lines) | stat: -rw-r--r-- 494 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
package Cdk::Debug;

@ISA = qw (Cdk);

#
# This creates a new Label object
#
sub DumpScreenRegList {
    my $type   = shift;
    my %params = @_;
    my $self   = {};
    my $name   = "${type}::new";

    # Retain the type of the object.
    $self->{'Type'} = $type;

    # Set up the parameters passed in.
    my $mesg =
      Cdk::checkReq( "($name) Missing 'Message' value.", $params{'Message'} );

    # Call the thing.
    Cdk::Debug::DumpScreenRegList( $params{'Message'}, $mesg );
}

1;