This is a discussion on How to check a file status? is readable or writable? within the Perl forums, part of the Software Development category; hi, How to check a file status? is readable or writable in PERL?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi raj You can use a follwing condition $vFileName="example.txt" if (-r $vFileName) { //#-- Enter Your Code Here } if (-w $vFileName) { //#-- Enter Your Code Here } Thanks R.Rajan |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I make the lastModified date more readable? | itbarota | HTML, CSS and Javascript Coding Techniques | 1 | 12-19-2007 05:20 AM |
| What is the commannd used to check "file disk usage space ..? in Linux . | itbarota | Operating Systems | 1 | 07-26-2007 12:41 AM |
| Status Code Definitions | vadivelanvaidyanathan | HTML, CSS and Javascript Coding Techniques | 11 | 07-11-2007 03:47 AM |
| HTTP Status 12152 | Jeyaseelansarc | PHP Programming | 0 | 05-18-2007 10:27 PM |
| File download status | JSureshkumar | ASP and ASP.NET Programming | 1 | 03-22-2007 08:22 AM |