I have this little script which prints all files from directory as links.
How can I modify it to print in 2 or 3 columns?
Kari
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);
use strict;
use warnings;
use CGI qw
all);
print header(),
ul( map li( a( {href => $_ }, $_ )), <*.*> )
;
How can I modify it to print in 2 or 3 columns?
Kari
#!/usr/bin/perl
use CGI::Carp qw(fatalsToBrowser);
use strict;
use warnings;
use CGI qw
print header(),
ul( map li( a( {href => $_ }, $_ )), <*.*> )
;