• +91 9723535972
  • info@interviewmaterial.com

Perl Interview Questions and Answers

Question - Where do we require ‘chomp’ and what does it mean?

Answer -

We can eliminate the new line character by using ‘chomp’. It can used in many different scenarios.For example:

excuteScript.pl FstArgu.

$argu = $ARGV[0];

chomp $argu; --> to get rid of the carrige return.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners