[EMAIL PROTECTED] wrote:

: hi charles --

   Good Morning.

:: BEGIN {
:: 
::     my @pad = (some large list of numbers);
:: 
::     ...
: 
: 
: just a point of curiosity...
: why is  @pad  defined inside a  BEGIN  block instead
: of just any old block?

    I place my subroutines at the end of my scripts. If
this is not in a BEGIN block, @pad will not be
initialized when encrypt() or decrypt() are first called.
That could be a bad thing.


HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
Free Market Advocate
Web Programmer

254 968-8328

Don't tread on my bandwidth. Trim your posts.

_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to