Dalin has asked for the wisdom of the Perl Monks concerning the following question:
#/usr/gnu/bin/perl -w use strict; my $file = "pathname/to/acl/user/file"; open (ACL,$file); my @users = <ACL>; close (ACL); my $user; foreach $user (@users) { chomp ($user); $user = "$user" . "\.mydomain\.com"; #add domain for smtp print $user; #to get a listing }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: undef line in an array
by voyager (Friar) on Jun 26, 2001 at 00:03 UTC | |
|
Re: undef line in an array
by Beatnik (Parson) on Jun 26, 2001 at 00:05 UTC | |
by Dalin (Sexton) on Jun 26, 2001 at 00:17 UTC |