in reply to Removing a Metacharacter from a filename
Any reason you are using backticks and echo when you could open the file for appending?
open my $OTIS, '>>', $otis_db or die "Can't open $otis_db: $!"; print $OTIS "INSERT into COSBRIDGE\n\tvalues$values\n"; close $OTIS
Because it appears it's your shell that has the problem with the &.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Removing a Metacharacter from a filename
by sputnik (Initiate) on Aug 26, 2009 at 23:10 UTC | |
by bv (Friar) on Aug 27, 2009 at 02:28 UTC |