schweini has asked for the wisdom of the Perl Monks concerning the following question:
... It also differs in that code evaluated with "do FILENAME" cannot see lexicals in the enclosing scope ...
print INVOICEVIEW translate("[ Factura vacia ]")."\n";
Can't locate object method "INVOICEVIEW" via package "translate" (perhaps you forgot to load "translate"?) at C:\wwwroot\protopos\protopos4.pl line 773.
Edit by tye, replace PRE with CODE
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cleaning up code with "do" ?
by Zaxo (Archbishop) on Aug 18, 2004 at 22:03 UTC | |
|
Re: cleaning up code with "do" ?
by revdiablo (Prior) on Aug 18, 2004 at 22:41 UTC | |
|
Re: cleaning up code with "do" ?
by ysth (Canon) on Aug 18, 2004 at 22:24 UTC | |
|
Re: cleaning up code with "do" ?
by Plankton (Vicar) on Aug 18, 2004 at 22:13 UTC | |
|
Re: cleaning up code with "do" ?
by ikegami (Patriarch) on Aug 18, 2004 at 23:03 UTC | |
|
Re: cleaning up code with "do" ?
by schweini (Friar) on Aug 18, 2004 at 22:47 UTC | |
by ysth (Canon) on Aug 18, 2004 at 23:31 UTC |