Assuming both a local($var) and a my($var) exist, what's the difference between ${var} and ${"var"}?
No Answer is Posted For this Question
Be the First to Post Answer
Try pattern matching for the following: 1) 10.111.23.11 2) /root/abc/cde/fgg/ac.xml --> Get file name without extention. 3) /root/abc/ac.xml/fgg/ac.xml --> Get file name without extention. 4) What does "DIE" meant in PERL? 5) chomp 6) "This is saturday" --> Print the weekday number. 7) 11-2-2009 --> Print the name of the month. 8) Reverse the string without using func in C.
Write an example explaining the use of symbol tables.
What's the difference between /^Foo/s and /^Foo/?
What are the advantages of c over Perl?
How to check the status of airplane mode (enable/disable) in perl for Android mobile?
Explain the difference between "my" and "local" variable scope declarations. ?
You want to download the contents of a url with perl. How would you do that?
What does the q{ } operator do?
Consider the following example #! /bin/perl use strict; sub sample { my @arr=(1,2,3,4); return @arr; } my ($a,$b,$c,$d) = &sample; print "$a\n$b\n$c\n$d\n"; In the above code, How can I get the $c without using the arguments such as $a,$b. I don't want to use any array to get the return values.
Can inheritance be used in perl? Explain with the help of an example.
What syntax is used for grep() function?
Which of these is a difference between Perl and C++ ?