I would like to remove white space for the variable $name that is used to name the output files. Can any monks offer support and guidance to a man who is new to the cloth?if ($line =~ /^%(.{1,100})$/){ s/\s//g; $name = $1; print "EEEEEEEEEEEEEEEEEEEEEEEEEEEE: $name\n"; } $outfile = "outfile['$name'].txt"; open (OUTFILE, "+>>$outfile");
In reply to substitution (s///) by matth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |