# Function Name : get_data
# Input : filename with path
# Output : none
# Description : This funtion will retrieve data from the given file and return it as a single string
sub get_data($)
{
my ($file) = @_;
$file = convertSlash($file); #
open (FI, $file);
my (@data) =;
my ($str) = join ("\n", @data);
chomp $str;
close (FI);
return $str;
}
# Input : filename with path
# Output : none
# Description : This funtion will retrieve data from the given file and return it as a single string
sub get_data($)
{
my ($file) = @_;
$file = convertSlash($file); #
open (FI, $file);
my (@data) =
my ($str) = join ("\n", @data);
chomp $str;
close (FI);
return $str;
}
No comments:
Post a Comment