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
How can you create anonymous subroutines?
What are different data types that perl supports. Elaborate on them.
How to compare two strings in perl?
Explain which feature of PERL provides code reusability?
Which statement has an initialization, condition check and increment expressions in its body? Write a syntax to use that statement.
Hi, I am a accountant. I am preparing a balance sheet but because of staff shortage and time pressures I cant complete it on time. There is lot of common data with last years which I need not retype and I can manage by editing last year’s balance sheet ? Is their any software on net where I can do this easily??
There are two types of eval statements i.e. Eval expr and eval block. Explain them.
How to concatenate strings in perl?
How to get help for perl?
How are parameters passed to subroutines in perl?
my @array=('data1','data2'); my @array1=('data1','data2'); my ($i,$k); $i=7; $k=7; while($i){ $array [++$#array] = 'ree'; $i--; print "@array"; } while($k){ push(@array1,'ree'); $k--; print "@array1"; } Are these two while loop are doing the same functionality ? What may be the difference?
Where the command line arguments are stored and if you want to read command-line arguments with Perl, how would you do that?