On 8/19/06, I BioKid <[EMAIL PROTECTED]> wrote:

@a=`cat list`;
foreach $a(@a)
        {
        `mkdir $a`;

You don't have to use the shell's mkdir (in backticks); you can use
Perl's mkdir function, if you first use chomp() to get rid of the
newlines. Could the newlines be causing other troubles? Hope this
helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to