Sponsored Content
Full Discussion: Do You Work From Home?
The Lounge What is on Your Mind? Do You Work From Home? Post 302124647 by cbkihong on Monday 2nd of July 2007 05:00:29 AM
Old 07-02-2007
My boss considers this idea crazy!
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

why doesn't this script work on my home computer?

Now it could be as simple as at work I use tsch, and at home it is bash. Warning, first post and I am a complete newbie to unix. At work, I use a simple script for updating a window when I am watching to see how a render is doing... while 1 echo --------------------------- echo ls -lrth... (1 Reply)
Discussion started by: iStealMusic
1 Replies

2. UNIX for Advanced & Expert Users

Problem: Automounting Home directory for nis & nfs configuration doesn't work

Hi all, First of all, i am so sorry about my bad level in English writing. I have some problem in linux and i hope the experts of this forum to help me if they have enough time to reply to me. I have a scenario of configuring NIS and NFS in Redhat Linux environment such that user can login... (0 Replies)
Discussion started by: pioneer
0 Replies

3. Web Development

Home work

I am studying part-time degree course ( Information system ), I just ask to do the following question , but it is not easy for me as I do not have IT background , does someone can help for it. "Consider the following web application for a property agent : The server download to the client... (1 Reply)
Discussion started by: ust
1 Replies

4. IP Networking

Setting to SSH home-PC from Work

Hello, My question is very basic for the settings to SSH my home PC from work. Home network two PC: Internet comes into my house through ISP modem and then the two PCs are connected with the router (Trendnet). The IPs for my PCs are How to set other stuffs for me to access my home PC from... (5 Replies)
Discussion started by: yifangt
5 Replies

5. Homework & Coursework Questions

UNIX script home work

plz can any one help to write the script of the output provided in the pdf. There are 2 tasks A and B. (5 Replies)
Discussion started by: mohdsadik90
5 Replies
Net::XMPP::JID(3pm)					User Contributed Perl Documentation				       Net::XMPP::JID(3pm)

NAME
Net::XMPP::JID - XMPP JID Module SYNOPSIS
Net::XMPP::JID is a companion to the Net::XMPP module. It provides the user a simple interface to set and retrieve all parts of a Jabber ID (userid on a server). DESCRIPTION
To initialize the JID you must pass it the string that represents the jid from the XML packet. Inside the XMPP modules this is done automatically and the JID object is returned instead of a string. For example, in the callback function for the XMPP object foo: use Net::XMPP; sub foo { my $foo = new Net::XMPP::Foo(@_); my $from = $foo->GetFrom(); my $JID = new Net::XMPP::JID($from); . . . } You now have access to all of the retrieval functions available. To create a new JID to send to the server: use Net::XMPP; $JID = new Net::XMPP::JID(); Now you can call the creation functions below to populate the tag before sending it. Retrieval functions $userid = $JID->GetUserID(); $server = $JID->GetServer(); $resource = $JID->GetResource(); $JID = $JID->GetJID(); $fullJID = $JID->GetJID("full"); $baseJID = $JID->GetJID("base"); Creation functions $JID->SetJID(userid=>"bob", server=>"jabber.org", resource=>"Work"); $JID->SetJID('blue@moon.org/Home'); $JID->SetUserID("foo"); $JID->SetServer("bar.net"); $JID->SetResource("Foo Bar"); METHODS
Retrieval functions GetUserID() - returns a string with the userid of the JID. If the string is an address (bob%jabber.org) then the function will return it as an address (bob@jabber.org). GetServer() - returns a string with the server of the JID. GetResource() - returns a string with the resource of the JID. GetJID() - returns a string that represents the JID stored GetJID("full") within. If the "full" string is specified, then GetJID("base") you get the full JID, including Resource, which should be used to send to the server. If the "base", string is specified, then you will just get user@server, or the base JID. Creation functions SetJID(userid=>string, - set multiple fields in the jid at server=>string, one time. This is a cumulative resource=>string) and over writing action. If you set SetJID(string) the "userid" attribute twice, the second setting is what is used. If you set the server, and then set the resource then both will be in the jid. If all you pass is a string, then that string is used as the JID. For valid settings read the specific Set functions below. SetUserID(string) - sets the userid. Must be a valid userid or the server will complain if you try to use this JID to talk to the server. If the string is an address then it will be converted to the % form suitable for using as a User ID. SetServer(string) - sets the server. Must be a valid host on the network or the server will not be able to talk to it. SetResource(string) - sets the resource of the userid to talk to. AUTHOR
Ryan Eatmon COPYRIGHT
This module is free software, you can redistribute it and/or modify it under the LGPL. perl v5.14.2 2012-11-06 Net::XMPP::JID(3pm)
All times are GMT -4. The time now is 04:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy