unix tips
Tuesday, August 28, 2012
validate if a file is already opened [in perl]
if(tell(filehandle) != -1) { //file is already opened ! [as tell returns -1] }
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment