in reply to Re^5: i need help in subroutines
in thread i need help in subroutines
===================================#file1 is in "d:/test.pm" sub uvaraj { $name='ramu'; print 'uvaraj is a good boy in nature but...'; }
==================== i run the second file, it is giving error as "test.pm didnt return a true value"#file2 is in "d:/run.pl" use lib 'D:/'; use test; &uvaraj;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: i need help in subroutines
by atcroft (Abbot) on Feb 07, 2006 at 13:14 UTC |