in reply to data leak using package
I can't see anything obviously wrong with your code, so the problem must be somewhere else in your environment. Can you post a (short) example of a program which uses this package and exhibits the problem you're describing.
A couple of minor code review notes:
package wslib;
The Perl convention is to reserve lower case package names for pragmas (like 'warnings' and 'strict'). You should rename this to something like "WSLib".
open PAGE, "$data_reg"
There's no need for the quotes there. In fact it is sometimes a really bad idea.
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: data leak using package
by Anonymous Monk on Feb 07, 2007 at 10:46 UTC | |
by davorg (Chancellor) on Feb 07, 2007 at 11:06 UTC | |
by polettix (Vicar) on Feb 07, 2007 at 11:25 UTC |