If the pipe is '<' or nothing, the file is opened for input. If the pipe is '>', the file is truncated and opened for output, being created if necessary. If the pipe is '>>', the file is opened for appending, again being created if necessary. You can put a '+' in front of the '>' or '<' to indicate that you want both read and write access to the file; thus '+<' is almost always preferred for read/write updates--the '+>' mode would clobber the file first. You can't usually use either read-write mode for updating textfiles, since they have variable length records
| file: /techref/language/perl/openpipe.htm, 0KB, , updated: 2006/1/31 14:18, local time: 2009/1/8 09:34,
38.103.63.58:LOG IN
|
| ©2009 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? Please DO link to this page! Digg it! <A HREF="http://www.piclist.com/techref/language/perl/openpipe.htm"> language perl openpipe</A> |
| Did you find what you needed? |
|
o List host: MIT, Site host massmind.org, Top posters @20090108 olin piclist, Jinx, eagletalontim, Vitaliy, solarwind, JonnyMac, apptech, Sean Breheny, cdb, M.L., * Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Shultz Electronics, Timothy Weber, on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
|
.