my first code does not work when I use absolute file names:
$filename = "c:/Perl/jobs.txt";
$filename2 = "c:/Perl/batch.txt";
my @outlines;
open ( FILE, $filename) or die print "help";
@lines = <FILE> ;
close FILE;
# @ lines contains strings like these...
I am running some large calculations in fluiddynamics which can be executed with cfx5pre, cfx5solve and cfxpost commands with appropiate attributes.
i would like to run several calculations after each other. I was thinking about adding lines to a textfile with the commands. jobs.txt
then i...
I want to add @]@[ before each cell in excel how can do this with perl. I almost got it to work!! It worked fine with comma except then all my white spaces are gone...
$filename = "Bok1.prn";
$filename2 = "bok2.txt";
open ( FILE, $filename) or die "Cannot open file: $!";
print "file open for...
I am trying to get out the filenames I haved defined in my $string, but it only prints :
so the first printed line should look like:
cfx5pre -batch test.cse
any help would be great
$string = "pre:test.cse;solve:test.def,test.ccl,test.res,test;post:test.cse";
@array = split /;/ , $string...
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.