|
Posted by rthangam on February 22, 2008, 5:36 am
Please log in for more thread options > Subra wrote:
> > I have very long line in perl script. I need to break it into
> > multiple lines. Some thing like below.
>
> > Present Code :-
>
> > if ($settings->-
> >> || $settings->->) {
>
> > New code should be:
> > if ($settings-
> >> -> ||
>
> > $settings->->) {
>
> Looks weird to me. How about:
>
> if (
> $settings->->
> ||
> $settings->->
> ) {
>
> > Is there any special character like in C (\) which I should put at the
> > end of the broken line ????
>
> No.
>
> --
> Gunnar Hjalmarsson
> Email:http://www.gunnar.cc/cgi-bin/contact.pl
Did you using perl beautify ?
|