Bug 112306 - [NEW PORT] devel/p5-CLASS: Alias for __PACKAGE__
Summary: [NEW PORT] devel/p5-CLASS: Alias for __PACKAGE__
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Cheng-Lung Sung
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-01 17:10 UTC by gslin
Modified: 2007-05-04 01:50 UTC (History)
1 user (show)

See Also:


Attachments
p5-CLASS-1.00.shar (1.95 KB, text/plain)
2007-05-01 17:10 UTC, gslin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description gslin 2007-05-01 17:10:04 UTC
CLASS and $CLASS are both synonyms for __PACKAGE__. Easier to type.

$CLASS has the additional benefit of working in strings.

CLASS is a constant, not a subroutine call. $CLASS is a plain
variable, it is not tied. There is no performance loss for using CLASS
over __PACKAGE__ except the loading of the module.

WWW:	http://search.cpan.org/dist/CLASS/

Generated with FreeBSD Port Tools 0.77
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-05-01 17:10:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->clsung

clsung@ wants his PRs
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-05-04 01:48:27 UTC
clsung      2007-05-04 00:48:22 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/p5-CLASS       Makefile distinfo pkg-descr pkg-plist 
  Log:
  Add p5-CLASS 1.00, alias for __PACKAGE__.
  
  PR:             ports/112306
  Submitted by:   Gea-Suan Lin <gslin at gslin.org>
  
  Revision  Changes    Path
  1.2753    +1 -0      ports/devel/Makefile
  1.1       +22 -0     ports/devel/p5-CLASS/Makefile (new)
  1.1       +3 -0      ports/devel/p5-CLASS/distinfo (new)
  1.1       +9 -0      ports/devel/p5-CLASS/pkg-descr (new)
  1.1       +4 -0      ports/devel/p5-CLASS/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Cheng-Lung Sung freebsd_committer freebsd_triage 2007-05-04 01:48:43 UTC
State Changed
From-To: open->closed

New port added. Thank You.