Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Pass the arguments to the procedure in an easier way

by dbs (Sexton)
on Jun 16, 2011 at 20:23 UTC ( #910026=note: print w/replies, xml ) Need Help??


in reply to Pass the arguments to the procedure in an easier way

I am no Perl guru, but I do know it is good practice to use @_ to pass args to a sub and not $_[0] 1 etc. Looks pretty Perl-ish to me. You could use FileHandle...I like it better:
use FileHandle; my $RLOG = new FileHandle "+>> $runlog" or die $!;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://910026]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2021-04-23 17:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?