On 6/25/07, deadpickle <[EMAIL PROTECTED]> wrote:
> pp -o GWC.exe -Mattributes GWC.pl
>
It worked!!
> If this works, we still need to figure out why attributes.pm wasn't detected.
> Can you post your script?
It is a large script, but sure if no body minds:
PS the attribute error is on line 11.
...
my $user:shared = 'uas';
Thanks, that's a straightforward use of attributes.
I just checked Module::ScanDeps and it currently has no provision to detect
the use of attributes. AFAICT, it would be non-trivial to add this,
because M::SD would have to look at every "sub ..." and "my ..." statement
which it currently doesn't.
But Eric Wilhelm <[EMAIL PROTECTED]>'s suggestion
to infer "attributes.pm" whenever we see "use threads::shared"
(because that makes usage of attribute ":shared" highly likely)
is very good. I'll add that to M::SD later in the day.
Cheers, Roderich