in reply to Re^2: difference between my and local
in thread difference between my and local

What exactly does our do ?

See the documentation.

So why use my anyway ?

Because scoped variables are easier to handle than global variables.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg