User tools for PHP, PERL and RUBY programmers

A place for users to discuss the Mac-based version of UltraEdit.

User tools for PHP, PERL and RUBY programmers

Postby DaveS » Tue Jun 28, 2011 12:33 pm

With the new usertool feature in UEM v2.2.0.5 and later create yourself some simple command line tools to check syntax for PHP, RUBY and PERL scripts.


For PHP

Code: Select all
php -l -f "%f"


For PERL

Code: Select all
perl -MO=Lint "%f"


For RUBY

Code: Select all
ruby -c "%f"


Make sure you set each one to send to OUTPUT WINDOW.... and syntax check your code from within UEM!
User avatar
DaveS
Basic User
Basic User
 
Posts: 39
Joined: Wed Oct 27, 2010 8:49 am
Location: San Diego, California

Re: User tools for PHP, PERL and RUBY programmers

Postby andy_staab » Fri Aug 05, 2011 4:21 pm

Hi Dave,

Thank you for this! I will give it a try tonight. I code in Perl for a living.

- Andy
andy_staab
Newbie
 
Posts: 1
Joined: Fri Aug 05, 2011 4:19 pm


Return to UltraEdit for Mac General Discussion