68 339
Assignments Done
98,8%
Successfully Done
In November 2018

Answer to Question #22423 in Perl for Sandeep Saxena

Question #22423
1. Which conditional statement is equivalent to "if (!<condition>)"?
a. unless ()
b. failure ()
c. fails ()
d. ifn ()

2. Correct command in Perl script
a. "cp file1 file2"
b. 'cp file1 file2'
c. `cp file1 file2`
d. {cp file1 file2}

3. What is -> Symbol in Perl?
Expert's answer
1. Correct answer is a) unless()Perl does not have &quot;failure&quot;,&quot;fails&quot;, &quot;ifn&quot; keywords
2. Answer is c), where the command is taken inquotes ``
3. In object oriented PERL the arrow -&gt; symbol is usedfor creating or accessing a particular object of a class

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions