Suppose I have perl script which has no 'use strict'/'use warnings' in it. In that case what is the significance of
a 'my' and 'local' variable in it. It is like
my $a = 5;
local $b = 4;
What are the significance of 'my' and 'local' here. For your information I know about local variables. They work on global (i.e package ) variables, applying 'local' on them localizes their value and restores back their original value once the scope is gone.
But in this above scenario how do they(my and local) differ ?