What happens to objects lost in "unreachable" memory, such as the object returned by Ob->new() in `{ my $ap; $ap = [ Ob->new(), $ap ]; }' ?
No Answer is Posted For this Question
Be the First to Post Answer
Where do we require ‘chomp’ and what does it mean?
Does Perl have objects? If yes, then does it force you to use objects? If no, then why?
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.
Explain the meaning of perl one-liner?
How do I replace every character in a file with a comma?
What does delete function do in perl?
What is the syntax used in Perl grep function?
Is perl compiler or interpreter?
What are the different ways to run cgi?
What is automatic error handling in perl?
When does circular reference occur?
Explain USE and REQUIREMENT statements?