in reply to Re: Re: First steps in OO-Perl , suggestions please!
in thread First steps in OO-Perl , suggestions please!
About the 80-char-standard: Should I just break the lines?Break the lines where it's logical. For example when you assign the new Net::FTP object to $self->{ftp} you could restructure it like so
Play around with it and see what looks best to you. You might even notice some improvements that could be made to your code along the way.$self->{ftp} = Net::FTP->new( $self->{'host'}, Port => $self->{'port'}, Timeout => $self->{'timeout'}, Debug => $self->{'debug'} ); unless($self->{ftp}) { ... }
_________
broquaint
|
|---|