* This one time, at band camp, Tony Green said:
>
> my $dir = "news/*txt";
> my $files = glob("$dir");
^^^^^^^^^
Ooops - that should be @files
>
> foreach my $file (@files)
> {
> open(FILE,$file) || warn "Cannot open $file";
> while (<FILE>)
> {
> print "$_<B>\n";
> }
> close (FILE);
> }
>
--
Greeno <[EMAIL PROTECTED]>
GnuPG Key : 1024D/B5657C8B
Key fingerprint = 9ED8 59CC C161 B857 462E 51E6 7DFB 465B B565 7C8B
Imagine working in a secure environment and finding the string
_NSAKEY in the OS binaries without a good explanation
-Alan Cox 04/05/2001
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug