Opening files with PERL is as easy. There are three options to opening a file 1. * open to read 2. * open to write 3. * creates a new file or erase previous contents 4. * open a file to append it 5. * opens the file, reads it and writes to it * open(FILEVARIABLE, "< $filename") * open the file to read * @filelines= ; * reads the file into an array with each line being its content * close(FILEVARIABLE) * close the file From HowTo Wiki, a Wikia wiki.
Attributes | Values |
---|---|
rdfs:label |
|
rdfs:comment |
|
dcterms:subject | |
abstract |
|