Changeset cb54527 for perl/lib/Net/XMPP/JID.pm
- Timestamp:
- Mar 26, 2007, 9:04:54 PM (17 years ago)
- Branches:
- master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 4c2ec6c
- Parents:
- 18a99d2
- git-author:
- Nelson Elhage <nelhage@mit.edu> (03/26/07 21:04:37)
- git-committer:
- Nelson Elhage <nelhage@mit.edu> (03/26/07 21:04:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/Net/XMPP/JID.pm
r0ff8d110 rcb54527 42 42 43 43 sub foo { 44 my $foo = new Net::XMPP::Foo(@_);44 my $foo = Net::XMPP::Foo->new(@_); 45 45 my $from = $foo->GetFrom(); 46 my $JID = new Net::XMPP::JID($from);46 my $JID = Net::XMPP::JID->new($from); 47 47 . 48 48 . … … 56 56 use Net::XMPP; 57 57 58 $JID = new Net::XMPP::JID();58 $JID = Net::XMPP::JID->new(); 59 59 60 60 Now you can call the creation functions below to populate the tag
Note: See TracChangeset
for help on using the changeset viewer.