| 1 | ################################################################################ |
1 | ################################################################################ |
| 2 | # WeBWorK Online Homework Delivery System |
2 | # WeBWorK Online Homework Delivery System |
| 3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
3 | # Copyright © 2000-2003 The WeBWorK Project, http://openwebwork.sf.net/ |
| 4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/Debug.pm,v 1.2 2004/06/23 19:19:02 sh002i Exp $ |
4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/Debug.pm,v 1.3 2004/10/06 21:01:17 gage Exp $ |
| 5 | # |
5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify it under |
6 | # This program is free software; you can redistribute it and/or modify it under |
| 7 | # the terms of either: (a) the GNU General Public License as published by the |
7 | # the terms of either: (a) the GNU General Public License as published by the |
| 8 | # Free Software Foundation; either version 2, or (at your option) any later |
8 | # Free Software Foundation; either version 2, or (at your option) any later |
| 9 | # version, or (b) the "Artistic License" which comes with this package. |
9 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 14 | # Artistic License for more details. |
14 | # Artistic License for more details. |
| 15 | ################################################################################ |
15 | ################################################################################ |
| 16 | |
16 | |
| 17 | package WeBWorK::Debug; |
17 | package WeBWorK::Debug; |
| 18 | use base qw(Exporter); |
18 | use base qw(Exporter); |
|
|
19 | use Date::Format; |
| 19 | our @EXPORT = qw(debug); |
20 | our @EXPORT = qw(debug); |
| 20 | |
21 | |
| 21 | =head1 NAME |
22 | =head1 NAME |
| 22 | |
23 | |
| 23 | WeBWorK::Debug - Print (or don't print) debugging output. |
24 | WeBWorK::Debug - Print (or don't print) debugging output. |