? See 'here doc' in the Camel, p. 43 in v.2 UPDATE: Closed the loop, sorry.for my $name (@names) { open OUTPUT ">$name.ini" or die "Bad Thing: $!\n"; print OUTPUT <<EOF [main] left_hand_side=$name.html right_hand_side=$name.php file_regex_pattern=\.php$ dir_regex_pattern=(?!^svn$) EOF close OUTPUT; }
In reply to Re: Is there a better way to automate file creation?
by samizdat
in thread Is there a better way to automate file creation?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |