root/dan/perl/PL_check/trunk/test.pl @ 14453

Revision 14453, 494 bytes (checked in by yappo, 5 years ago)

コメントとか追加

Line 
1package My;
2
3sub new {
4    bless {}, shift;
5}
6
7package main;
8use strict;
9use warnings;
10use lib qw(blib/lib blib/arch);
11
12use PL_check::hack;
13
14BEGIN {
15    PL_check::hack::setup;
16}
17
18
19#exit;
20warn "---------------------\nRUNNING";
21
22so;
23BEGIN { warn "My->new" }
24my $obj = My->new;
25#$obj->hoge;
26
27while (1) {
28    last;
29}
30
31for (1..2) {
32    warn "for loop in";
33    next;
34    warn "for after next";
35}
36warn "for end";
37
38for (1..2) {
39}
40
41warn "go to print hack";
42print "PRINT: 1111\n";
43print "PRINT: 2222\n";
Note: See TracBrowser for help on using the browser.