Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.023.557 Times

Net::IRC3::Util 0.3

  Date Added: September 16, 2010  |  Visits: 711


Report Broken Link
Printer Friendly Version

Product Homepage
Download (73 downloads)

Net::IRC3::Util are common utilities that help with IRC protocol handling. SYNOPSIS use Net::IRC3 qw/parse_irc_msg mk_msg/; my $msgdata = mk_msg (undef, PRIVMSG FUNCTIONS These are some utility functions that might come in handy when handling the IRC protocol. You can export these with eg.: use Net::IRC3 qw/parse_irc_msg/; parse_irc_msg ($ircline) This method parses the $ircline, which is one line of the IRC protocol without the trailing " 15 12". It returns a hash which has the following entrys: prefix The message prefix. command The IRC command. params The parameters to the IRC command in a array reference, this includes the trailing parameter (the one after the : or the 14th parameter). trailing This is set if there was a trailing parameter (the one after the : or the 14th parameter). mk_msg ($prefix, $command, $trailing, @params) This function assembles a IRC message. The generated message will look like (pseudo code!) : : Please refer to RFC 2812 how IRC messages normally look like. The prefix and the trailing string will be omitted if they are undef. EXAMPLES: mk_msg (undef, "PRIVMSG", "you suck!", "magnus"); # will return: "PRIVMSG magnus :you suck! 15 12" mk_msg (undef, "JOIN", undef, "#test"); # will return: "JOIN #magnus 15 12" decode_ctcp ($ircmsg) or decode_ctcp ($line) split_prefix ($prefix) This function splits an IRC user prefix as described by RFC 2817 into the three parts: nickname, user and host. Which will be returned as a list with that order. $prefix can also be a hash like it is returned by parse_irc_msg. prefix_nick ($prefix) A shortcut to extract the nickname from the $prefix. $prefix can also be a hash like it is returned by parse_irc_msg. prefix_user ($prefix) A shortcut to extract the username from the $prefix. $prefix can also be a hash like it is returned by parse_irc_msg. prefix_host ($prefix) A shortcut to extract the hostname from the $prefix. $prefix can also be a hash like it is returned by parse_irc_msg..

Requirements: No special requirements
Platforms: Linux
Keyword: Help With Irc Protocol Libraries Like It Is Msg Parse Prefix Privmsg Protocol Returned Trailing
Users rating: 0/10

License: Freeware Size: 10.24 KB
Text Chat Clients  -  PJIRC 2.1.1
PJIRC is an IRC client, just like Opera is a HTTP client. PJIRC is just another front-end for the well-known IRC network. Youre supposed to be familiar with the IRC concepts. If not, you should try to find more information about it before going...
528.38 KB  
Games  -  2014 Baby & Mother Dress up 1.0
You have had a lot of fun in then past playing with adorable Lulu, but now it is time that she gets you to meet the most important person in her life: her mother Sophie. Help them both get dresses in trendy outfits. Sophie would really like an...
12.5 MB  
Health & Fitness  -  Test Your Hearing
Test your hearing will help you check for hearing problems. It is also intended to give you an idea of what some parts of a hearing evaluation might be like. Test your hearing with these guided experiments. It comprises a number of tests...
1024 KB  
Screen Savers  -  1370 professional icons - vista icons style 1.0
Introducing a completely fresh new style full of bright, vivid and vibrant colors that make each icon look like it is finished with real materials, as an example of this you will find in seven style icons with a perfect mix of colors put togheter...
19.07 MB  
Utilities  -  Project Warden - Search Party 1.00
a tool to help with organizing search parties. How it works: 1. Set up a group for your search 2. All your search volunteers can open this app and join the search party 3. as the admin of the search party you can see who is in...
204.8 KB  
Education  -  Angular JS
This app throw light on AngularJS which is an open-source JavaScript framework, maintained by Google, that assists with running single-page applications. It is fully extensible and works well with other libraries. Every feature can be modified or...
2 MB  
Productivity  -  Ideanote
Ideanote is an easy-to-use application that allows you to take multiple pictures, organize them into a folder, add notes to them, and share them with your friends or colleagues. It is a powerful tool to help you record and organize meeting...
1024 KB  
Web Browser Tools  -  HTMLGate FREE 12.2.1
The most efficient and powerful web-editor, whether you're an experienced web professional or just a novice starting with your first web site, it is the complete set of features and tools you need to design, build and publish web sites in...
1.96 MB  
File Utilities  -  gBurner Virtual Drive 3.1
gBurner Virtual Drive is a free utility designed for creating and managing virtual CD / DVD drives. For anyone who deals with CD/DVD-based programs - it is a MUST. gBurner Virtual Drive allows you to use almost all CD/DVD image without burning...
398 B  
Wallpaper Tools  -  Cristal H3C 1.1.1
eye this subject was created from things found here and there by making them changes or changes to certain things and joining them later, I made a nice appearance and want to share with everyone, hope you like it. I recommend that after...
645.12 KB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.13.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB