File-Slurp

 view release on metacpan or  search on metacpan

lib/File/Slurp.pm  view on Meta::CPAN


		$opts->{append} = 1 ;
	}
	else {

# no opts hash so insert one with the append mode

		splice( @_, 1, 0, { append => 1 } ) ;
	}

# magic goto the main write_file sub. this overlays the sub without touching
# the stack or @_

	goto &write_file
}

# prepend data to the beginning of a file

sub prepend_file {

	my $file_name = shift ;



( run in 0.401 second using v1.01-cache-2.11-cpan-49f99fa48dc )