groups

name language licence
Struts in tables Latex Other
Tabs to spaces Other Other
Untitled Snippet
Write data to a file Perl Other
Make a file containing a list of files in a directory Perl Other
Command line arguments C++ Other
Read data from a file C++ Other
History Shell Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 >



language: Perl
licence: Other

Write data to a file

options: view full snippetsend to code collector
#!/usr/local/bin/perl
open(DAT,">$sitedata") || die("Cannot Open File");
close (DAT);

# Use >> to append
#     >  to overwrite 

	
(Continues...)