Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perltidy

Status
Not open for further replies.

CJason

Programmer
Oct 13, 2004
223
US
Anyone know of a good forum for Perltidy? Or, are there any experts here?

Thanks!
 
If you have a question maybe you should just post it here and see if anyone can help.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Kevin.. do you use perltidy? I have a few guys that write some pretty weirdly formatted perl code that I have to support and it looks pretty useful. Ever had any issues with it?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
I've never used it.

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Here's the issue I've got:

I'm running perltidy from withina perl script:

Code:
perltidy(source=>"myfile.pl",perltidyrc=>"my.perltidyrc");

For some reason, I'm getting this error:

"You may not specify any filenames when a source array is given"

Any ideas?
 
FIGURED IT OUT!!!!

Apparently, if you have something in @ARGV, perltidy uses that. So, I dumped @ARGV into a different local array, then undef'd @ARGV...and it worked!!

Hopefully, this will help someone out in the future...because it wasn't easy to find!??!?!?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top