Perl - Access Modifiers in PERL

Venkat, Nirmala


Outline: Access Modifiers in PERL: 1. private variable - my: scope is in the block inside where it is declared; 2. lexically scoped variables - local: that means they get the temporary value inside the block; 3. global variables - our: can be accessed without giving package name while accessing it in another package. Pre-requisite: Perl - Blocks in Perl

Published by:

Spoken Tutorial IIT Bombay

DOER Persistent Identifier: