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

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

Serving Software Downloads in 956 Categories, Downloaded 50.206.929 Times

Net::IRC3::Util 0.3

  Date Added: September 16, 2010  |  Visits: 909

Net::IRC3::Util

Report Broken Link
Printer Friendly Version


Product Homepage
Download (101 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
USER REVIEWS
More Reviews or Write Review


NET::IRC3::UTIL RELATED
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  
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  
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  
Simulation Games  -  Netrek 4.4
Netrek is a multiplayer battle simulation with a Star Trek theme, it is a team-oriented game with a first person perspective that progresses in real time over the Internet. As a player, you captain starships to engage enemy vessels, bomb armies,...
2.1 MB  
Screen Savers  -  Box Clock Screensaver 2.0
Do you remember square mechanical clock with arabic numerals? Now you can enjoy this clock on your desktop with our new clock screensaver. It is designed in blue and grey colors and will really save your screen. Besides we offer you very...
2.07 MB  
Programming  -  Middle Click Closes Tab Eclipse Plugin 2.0.0
Getting accustomed to closing tabs with middle click in Firefox, it is frustrating to find myself clicking on Eclipse editors tab trying to close them. 'Middle Click Closes Tab' plugin brings this feature to Eclipse.
9.57 KB  
Business  -  Tags plugin for RoundCube rc.0.5
This plugin will add to the AJAX Webmail RoundCube the ability to tag mails like it is done in Thunderbird. He will follow the same semantic as Thunderbird to manage tag, so tags set using this plugins will be seen in Thunderbird and vice-versa.
9.45 KB  
Command Line Mail Tools  -  quickSMTP 0.1
quickSMTP is a fast and efficient mail server for Windows and is fully compliant with SMTP and POP3 specifications. It is free for use and provides a variety of features, such as: comfortable management interface; hosting of unlimited domains and...
4.24 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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