in reply to Hot Oracle backup/RMAN
oracle.com has an article that describes use of Oracle Recovery Manager rman from the (bash) shell in Linux. You can easily wrap that into a Perl system call, provided you use a Unix-like operating system.