What Is The Output Of The Following Perl Program

What Is The Output Of The Following Perl Program


  • 9 Feb, 2012

    1 $p1 = "prog1.java";2 $p1 =~ s/(.*)\.java/$1.cpp/;3 print "$p1\n";What is the output of the following Perl program?1 $p1 = "prog1.java";2 $p1 =~ s/(.*).java/$1.cpp/;3 print "$p1n"; prog1.cpp

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.