Menu

#5 Missing semicolon

closed
nobody
None
5
2001-12-31
2001-10-29
No

This code does not get recognised as missing a
semicolon at the end.

---------------------------------------------
my $cols = [ "name", "job", "company" ];
my $paramquestions = join ",", map { "?" } @{$cols}
my $x = "x";
print $paramquestions, $x;

---------------------------------------------

Mike

Discussion

  • Steve Hancock

    Steve Hancock - 2001-12-31

    Logged In: YES
    user_id=126278

    If you use the '-w' flag in version 20011231 and later,
    you will get this error reported.

     
  • Steve Hancock

    Steve Hancock - 2001-12-31
    • status: open --> closed
     

Log in to post a comment.