![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: using a subroutineby mpeg4codec (Pilgrim) |
on Aug 09, 2004 at 17:58 UTC ( #381314=note: print w/replies, xml ) | Need Help?? |
Looking very good! It's a little redundant to pass the two arguments to directs() separately. You have the right idea with the foreach (@_) in the subroutine. Just pass the options like this:
Remember, the rule for learning how to program is ``Read a lot, code a little, read a lot, code a little.'' Always keep experimenting. Good luck!
In Section
Seekers of Perl Wisdom
|
|