On Jan 23, 2004, at 2:47 PM, Eric Walker wrote:
[..]
while {
do something;}
package ONE
package stuff;
1;
package main
__DATA__
data stufff
yes, one can do the reset back to package main.
part of the reason I opt
On Fri, 2004-01-23 at 14:46, drieux wrote:
On Jan 23, 2004, at 1:36 PM, Eric Walker wrote:
[..]
>
> when I tried to add a package to it, I did some test and its not
> reading
> the DATA anymore. Is there a certain order?
[..]
How did you put the package in?
On Fri, 2004-01-23 at 14:43, Randy W. Sims wrote:
On 1/23/2004 4:36 PM, Eric Walker wrote:
>
> when I tried to add a package to it, I did some test and its not reading
> the DATA anymore. Is there a certain order?
__DATA__ must be in package main;
#!perl
On Jan 23, 2004, at 1:36 PM, Eric Walker wrote:
[..]
when I tried to add a package to it, I did some test and its not
reading
the DATA anymore. Is there a certain order?
[..]
How did you put the package in?
ciao
drieux
---
#!/usr/bin/perl -w
use strict;
my $foo
On 1/23/2004 4:36 PM, Eric Walker wrote:
when I tried to add a package to it, I did some test and its not reading
the DATA anymore. Is there a certain order?
__DATA__ must be in package main;
#!perl
use strict;
use warnings;
while () {
print;
}
package Test;
sub a {}
1;
package main; # DATA mus
On Jan 23, 2004, at 1:27 PM, Eric Walker wrote:
I have some code I want to add a package in the same file. I already
have some _DATA_ in the file. Currently, the code is not seeing the
_DATA_. How can I add a package in the same file then.
[..]
since the
__DATA__
vice
_DATA_
h
On Fri, 2004-01-23 at 14:34, James Edward Gray II wrote:
On Jan 23, 2004, at 3:27 PM, Eric Walker wrote:
> I have some code I want to add a package in the same file. I already
> have some _DATA_ in the file. Currently, the code is not seeing the
> _DATA_. How can I add a pa
On Jan 23, 2004, at 3:27 PM, Eric Walker wrote:
I have some code I want to add a package in the same file. I already
have some _DATA_ in the file. Currently, the code is not seeing the
_DATA_. How can I add a package in the same file then.
I believe your DATA tag at the end is the problem. It'
I have some code I want to add a package in the same file. I already
have some _DATA_ in the file. Currently, the code is not seeing the
_DATA_. How can I add a package in the same file then.
Thanks
perlknucklehead
example:
while {
do something
}
_DATA_
this
is my
data
section