Created
August 19, 2011 20:27
-
-
Save agargiulo/1157917 to your computer and use it in GitHub Desktop.
failing perl script section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use 5.010; | |
open(my $config, ">" "$configfile") or die $!; | |
$output = $row->{value}; | |
my @output = split(/\n/, $output); | |
if ($wroteToFile) | |
{ | |
foreach (@output) | |
{ | |
say $config "$_"; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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