user-pic

Mark

  • About: while (0..25) { $x++; $d[$t++]=\$x; until ($x ; print ${$d[$in]}; goto lable; }} ## why wont this work !!!... ???
  • Posted perl references in a while loop to Mark

    while (0..25) {

    $x++;

    $d[$t++]=\$x;

    until ($x 25) {
    lable:
    print "hello::","\n";

    $in = STDIN;

    print ${$d[$in]};

    goto lable;
    }


    }

    ## now this should print 1 when i type 1
    ## and 2 when I type 2 at

Subscribe to feed Recent Actions from Mark

No responses to comments.

Subscribe to feed Responses to Comments from Mark

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.