I need to discover all the packages (not files, the symbolic tables) that
are child of my package, something like:
my @child = map { $_->isa('My::Class') } ->ALL_PACKAGES<-
How do I create the ->ALL_PACKAGES<- list?
Notice that the focus of these question is the creation of ->ALL_PACKAGES<-
T
O.K. I've finished my code to create a MySQL db and/or table, and I'd
appreciate hearing your comments. It works well, but it needs to be cleaned up
before going live. I've left some testing code in. Go ahead and be brutally
honest. I've learned so much from this list already.
Than
On 09/06/2011 08:59, Beware wrote:
Hi all,
i've a question on my perl script.
In my script i read a file line per line, and check if keywords are in
uppercase. To do that, i've an array filled with all used keywords.
On each line, i check all keywords with a foreach loop.
Well, this is my cod
Beware wrote:
Hi all,
Hello,
i've a question on my perl script.
In my script i read a file line per line, and check if keywords are in
uppercase. To do that, i've an array filled with all used keywords.
On each line, i check all keywords with a foreach loop.
Well, this is my code :
my $l
Hi,
Correct me if i am wrong -
$read = 0 unless /\s[A-Z]{3}:/;
This might pick up wrong values also - since one of the DBLINKS data (the first
record) might also get picked up - it should match this regex.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-ma
On Thu, Jun 9, 2011 at 9:59 AM, Beware wrote:
> Hi all,
>
> i've a question on my perl script.
>
> In my script i read a file line per line, and check if keywords are in
> uppercase. To do that, i've an array filled with all used keywords.
>
> On each line, i check all keywords with a foreach loo
Hi all,
i've a question on my perl script.
In my script i read a file line per line, and check if keywords are in
uppercase. To do that, i've an array filled with all used keywords.
On each line, i check all keywords with a foreach loop.
Well, this is my code :
my $lines = 0;
while ( )
{
On 2011-06-09 23:46, John SJ Anderson wrote:
On Thu, Jun 9, 2011 at 17:42, wrote:
Using either require, use, or do produces an error if I run the script without
the module. Is there a specific function for this purpose, or would I have to
do something like wrap a 'use' or 'require' in an i
> "JD" == John Delacour writes:
JD> At 18:50 -0400 09/06/2011, Uri Guttman wrote:
>> ...i don't know the data logic so i can't go further. at least you
>> can run this and assign it to $read to remove redundancy. also you
>> can declare $read here.
>>
>> my $read = s/^GENES//;
At 18:50 -0400 09/06/2011, Uri Guttman wrote:
...i don't know the data logic so i can't go further. at least you
can run this and assign it to $read to remove redundancy. also you
can declare $read here.
my $read = s/^GENES//;
No it isn't. If you don't "know the data logic" then i
10 matches
Mail list logo