Klasse :: prototyped

Klasse :: Prototype is een snelle programmering op basis van prototype in Perl.
Download nu

Klasse :: prototyped Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Ned Konz and Toby Ovod-Everett
  • Uitgever website:
  • http://search.cpan.org/~teverett/Class-Prototyped-1.10/lib/Class/Prototyped.pm

Klasse :: prototyped Tags


Klasse :: prototyped Beschrijving

Klasse :: prototyped is een snel programmering op basis van prototype in Perl. Klasse :: prototyped is een snelle prototype-gebaseerde OO-programmering in Perl.Synopsis. Gebruik de klas :: prototyped ': ezaccess'; $, = ''; $ = "N"; Mijn $ P = Klasse :: Prototyped-> Nieuw (veld1 => 123, sub1 => sub {print "Dit is sub1 in p"}, sub2 => sub {print "Dit is sub2 in p"}); $ p-> sub1; Print $ P-> Field1; $ p-> veld1 ('iets nieuws'); Print $ P-> Field1; Mijn $ P2 = Klasse :: Prototyped :: NIEUW ('Ouder *' => $ P, Field2 => 234, sub2 => Sub {print "Dit is sub2 in P2"}); $ p2-> sub1; $ p2-> sub2; Afdrukken Ref ($ P2), $ P2-> FIELD1, $ P2-> FIELD2; $ p2-> veld1 ('en nu voor iets anders'); Afdrukken Ref ($ P2), $ P2-> FIELD1; $ P2-> Addslots (sub1 => sub {print "Dit is sub1 in P2"}); $ p2-> sub1; Afdrukken Ref ($ P2), "heeft slots", $ p2-> reflecteren-> slotnames; $ P2-> reflecteren-> omvatten ('xx.pl'); # Inclusief xx.pl in $ P2's pakketafdruk Ref ($ P2), "heeft slots", $ p2-> weerspiegelen-> slotnames; $ P2-> AA (); # Roept AA van meegeleverde bestand xx.pl $ P2-> verwijderingen ('sub1'); $ p2-> sub1; Vereisten: · Perl


Klasse :: prototyped Gerelateerde software

Artimagen

Bibliotheek voor kunstmatige opgeladen deeltjesmicroscopie beeldgeneratie voor C ++ ...

121

Downloaden