in reply to Re^2: Cross-namespace problem with lvalue subs? Want?
in thread Cross-namespace problem with lvalue subs? Want?
You could try putting "package Xmas;" on the line before __DATA__ - seems to work for changing which package the DATA filehandle appears in.
Of course, the other admonition is to not have multiple packages in a single file - it confuses us mere mortals when convention is broken like that. ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Cross-namespace problem with lvalue subs? Want?
by belg4mit (Prior) on Dec 22, 2005 at 18:24 UTC |