Next 1.0 File::Operations Prev

File::Operations

Saving file

	save_file($filename, $content);
	save_file($filename, $content_ref);
	save_file($filename, \@lines);
	save_file($filename, $content, create_dirs => 1, is_utf8 => 0);

	append_file($filename, $content);

Loading file

	my $content = load_file($filename);
	load_file($filename, \$content);
	load_file($filename, \@lines);
	my $content = load_file($filename, is_utf8 => 1);

Next Useful Perl Modules Prev