• +91 9723535972
  • info@interviewmaterial.com

Perl Interview Questions and Answers

Question - What is the use of -n and -p options?

Answer -

The -n and -p options are used to wrap scripts inside Loops. The -n option makes the Perl execute the script inside the loop. The -p option also used the same loop as -n loop but in addition to it, it uses continue. If both the -n and -p options are used together the -p option is given the preference.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners