[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Editing ".pm" Files with BBEdit



On 3:07 PM 3/11/00 David Emme <demme@pobox.com> wrote:

> I'm trying to edit a number of module (".pm") files with BBEdit 4.5.3.
> In these files, the BBEdit Function menu is empty, which is a bit
> annoying.
> 
> Apparently this is because functions in these files have the form:
> 
>    sub xxx::yyy {}
> 
> If I add a function of the form,
> 
>    sub yyy {}
> 
> to the file, it shows up in the Function menu.
> 
> BBEdit knows that both .pl and .pm are Perl files.
> 
> Is there any cure for this in BBEdit 4?

I don't have the 5.x list of changes handy, but it does appear that this
was addressed in the 5.x cycle.  Your function xxx:yyy does parse
correctly in the function scanner in BBEdit 5.x.  You can verify this in
the demo.

As for a cure in BBEdit 4, no I am not aware of a workaround.

-- 
Jim Correia                                Bare Bones Software, Inc.
correia@barebones.com                     <http://web.barebones.com>

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org