in reply to Re^3: create array of empty files and then match filenames
in thread create array of empty files and then match filenames
What is in $confs ?
I'm guessing you need to use split to create @confs
poj#!perl use strict; my $confs = 'B001, B003, B002'; my @confs = split /, /,$confs; my @sortedconfs = sort {$a cmp $b} @confs; print "@sortedconfs\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: create array of empty files and then match filenames
by angela2 (Sexton) on Jan 14, 2016 at 16:16 UTC |