Skip to content

Instantly share code, notes, and snippets.

@agargiulo
Created August 19, 2011 20:27
Show Gist options
  • Save agargiulo/1157917 to your computer and use it in GitHub Desktop.
Save agargiulo/1157917 to your computer and use it in GitHub Desktop.
failing perl script section
use 5.010;
open(my $config, ">" "$configfile") or die $!;
$output = $row->{value};
my @output = split(/\n/, $output);
if ($wroteToFile)
{
foreach (@output)
{
say $config "$_";
}
}
$output = $row->{value};
if ($wroteToFile)
{
print CONFIG "$output";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment