File: Debug.pm

package info (click to toggle)
libcdk-perl 4.9.10-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 912 kB
  • ctags: 410
  • sloc: perl: 6,419; sh: 27; makefile: 4
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;