web-yogini has asked for the wisdom of the Perl Monks concerning the following question:
What am I missing? I feel so dumb!# This one won't work # @ARGV = ('$mail_directory/users/$table_ext/$user\@domain.c +om') unless @ARGV; # But this one will: @ARGV = ('/home/account/users/po/username@domain.com') unless @ARGV; die "usage: $0 dir ..\n" unless @ARGV; foreach $dir (@ARGV) { rmtree($dir); } print "Deleting user's directory: @ARGV\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Why won't it let me place variables in here?
by Chmrr (Vicar) on Jul 13, 2001 at 08:51 UTC | |
by web-yogini (Novice) on Jul 13, 2001 at 11:08 UTC | |
|
Re: Why won't it let me place variables in here?
by synapse0 (Pilgrim) on Jul 13, 2001 at 08:52 UTC |