Sudarshan Raghavan wrote:
> On 5 Sep 2002, Chuck Belcher wrote:
>
> @scalars_used{/(\$\w+)/g} = ();
> print Dumper(\%scalars_used);
> }
> print Dumper(\%scalars_used);
this is not going to work well. consider:
#!/usr/bin/perl -w
use strict;
=item whatever
$w $x $y $z
=cut
#--
Chuck Belcher wrote:
>
> I have just started using perl and I have been asked to write a script
> that will open a perl script, count all of the variables identified by
> $... and print to the screen the number of unique variables and display
> a list of variables used. Can anyone tell me where
On 5 Sep 2002, Chuck Belcher wrote:
> I have just started using perl and I have been asked to write a script
> that will open a perl script, count all of the variables identified by
> $... and print to the screen the number of unique variables and display
> a list of variables used. Can anyone t