muizelaar has asked for the wisdom of the Perl Monks concerning the following question:
foreach my $file (@ulist) {eval { print "\n"; $n++; print $n; print " $file\n"; }} print " Please select which user you would like to...\n"; my $user = <STDIN>; chomp $user; $user = $file; chdir("$hdir/$user") || die "Cant Change to directory $hdir/$user: $!\ +n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating a Menu List
by shmem (Chancellor) on Sep 15, 2008 at 14:55 UTC | |
by muizelaar (Sexton) on Sep 16, 2008 at 14:07 UTC | |
by lostjimmy (Chaplain) on Sep 16, 2008 at 16:03 UTC | |
by muizelaar (Sexton) on Sep 17, 2008 at 12:17 UTC | |
|
Re: Creating a Menu List
by eff_i_g (Curate) on Sep 15, 2008 at 14:15 UTC | |
|
Re: Creating a Menu List
by lamp (Chaplain) on Sep 15, 2008 at 15:07 UTC | |
|
Re: Creating a Menu List
by Anonymous Monk on Sep 15, 2008 at 15:16 UTC |