in reply to System Command mv not working - Require a solution without modules.
Hi G Nagasri Varma,
There are several things one could point out to you namely:
- Use <code> </code> around your code
- use warnings;
use strict; in your code - Your open function should use the 3 arguments option
- Change your C/C++ for type. Use perl's like so: foreach () {...}
OR for () {...} - Lastly, instead of using system(..) or backticks `` or qx/../
use module File::Copy qw/move/ It comes installed with your Perl, for easy portability
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me
|
---|
In Section
Seekers of Perl Wisdom