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

[MacPerl] Using ' instead of :: as the package separator



David wrote the following in a post a moment ago:

eldorado@ime.net (David) wrote:
>#! perl -w
>use strict;
>require "StandardFile.pl";
>my $dir = &StandardFile'GetFolder('Select a folder', "::");


I was wondering why so many people in the MacPerl world use the single-quote
instead of the double-colon as the package separator.  Is it just a needless
historical relic from the Perl 4 days, or is there some style guide out there
that I don't know about?  David's certainly not the only person who does it.

I suppose it fits with the .pl extension on libraries and the require()ing
thereof. =)




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