in reply to Search and Replace Within Subscopes

Also have a look at the recent thread indent for Perl? about Perl::Tidy. It can be configured for a variety of coding styles -- see Perltidy Style Key for more info.
  • Comment on Re: Search and Replace Within Subscopes

Replies are listed 'Best First'.
Re^2: Search and Replace Within Subscopes
by DanielNeedles (Novice) on Jul 04, 2008 at 16:46 UTC
    Maybe. I am looking to parse Netcool rules files which is basically a glorified if-then-else/switch-case-default stmts with assignments @x=,%x=,$x= and a handful of other functions. Also there are includes that need to be followed. I'm thinking the scope is small enough and the variances large enough that a tidy project would be larger than brute force coding.
      Well that certainly explains where @Agent eq 'XX' is coming from. And I just assumed that you didn't the difference between an array and a scalar. :-)