Hello,
I'm working off some sample code...
#!/bin/perl
use strict;
use warnings;
# rename - Larry's filename fixer
my $op = shift or die "Usage: rename expr [files]\n";
chomp(@ARGV = <STDIN>) unless @ARGV;
for (@ARGV) {
my $was = $_;
eval $op;
die $@ if $@;
rename($was,$_)...
Hello,
I have a .csv file (converted from MS Excel) and my intention is to write every line into a separate (new) file. What I'm basically doing is this
#!/bin/perl
use warnings;
use strict;
use Text::CSV_XS;
use Tie::Handle::CSV;
my $fh = Tie::Handle::CSV->new(csv_parser =>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.