File: Debug.pm

package info (click to toggle)
libcdk-perl 4.9.10-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 884 kB
  • ctags: 411
  • sloc: perl: 6,419; makefile: 33; sh: 27
file content (25 lines) | stat: -rw-r--r-- 480 bytes parent folder | download | duplicates (6)
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;