McA has asked for the wisdom of the Perl Monks concerning the following question:
Hi all,
more and more I see code examples of the following form:
{ package Modul; use This; use That; ... }
What is the difference to the form of
package Modul1; use This; use That;
without being wrapped into a block?
Can someone enlight me, please?
Best regards
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Package declaration in code block
by LanX (Saint) on Apr 23, 2014 at 16:14 UTC | |
by tobyink (Canon) on Apr 23, 2014 at 16:51 UTC | |
by McA (Priest) on Apr 23, 2014 at 16:29 UTC | |
by tobyink (Canon) on Apr 23, 2014 at 16:49 UTC | |
by McA (Priest) on Apr 23, 2014 at 16:57 UTC | |
by Anonymous Monk on Apr 23, 2014 at 20:46 UTC | |
by dmitri (Priest) on Apr 24, 2014 at 02:46 UTC | |
|
Re: Package declaration in code block
by InfiniteSilence (Curate) on Apr 23, 2014 at 16:29 UTC |