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.596.333 Times

Hey::Common 0.01

Company: Dusty Wilson
Date Added: August 22, 2013  |  Visits: 296


Report Broken Link
Printer Friendly Version

Product Homepage
Download (17 downloads)

Hey::Common is a Perl module with common functions used in other Hey::* modules.<br /><br />SYNOPSIS<br /><br /> use Hey::Common;<br /> my $common = Hey::Common->new;<br /> <br /> my $money = $common->formatMoney(524.4); # will return string "524.40"<br /><br />new<br /><br /> my $common = Hey::Common->new;<br /><br />This function provides access to all of these following methods.<br /><br />forceArray<br /><br /> $data->{users} = $common->forceArray($data->{users});<br /><br />The input can either be an array ref or non-array ref. The output will either be that same array ref, or the non-array ref as the only item in an array as a ref.<br /><br />This is useful for items that might or might not be an array ref, but you are expecting an array ref.<br /><br />randomCode<br /><br /> $someRandomCode = $common->randomCode($lengthOfCodeRequested, $keyStringOfPermittedCharacters);<br /><br /> $someRandomCode = $common->randomCode(); # defaults for length and key<br /> $someRandomCode = $common->randomCode(8); # choose a specific length, but default key<br /> $someRandomCode = $common->randomCode(12, 'abcdefg'); # choose a specific length and key<br /><br />$lengthOfCodeRequested defaults to 16.<br /><br />$keyStringOfPermittedCharacters defaults to 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'.<br /><br />deepCopy<br /><br /> my $newCopyOfSomeHashRef = $common->deepCopy($someHashRef);<br /><br />It makes a copy of a reference instead of making a reference to it. There's some usefulness there.<br /><br />isAffirmative<br /><br /> if ($common->isAffirmative('y')) {<br /> print "'y' is affirmative, so you'll see this.";<br /> }<br /> <br /> if ($common->isAffirmative('no')) {<br /> print "'no' is not affirmative, so you won't see this";<br /> }<br /><br />This checks to see if the value is affirmative.<br /><br />Things that are affirmative are: 'y', 'yes', 't', 'true', or any true numerical value.<br />isNegative<br /><br /> if ($common->isNegative('y')) {<br /> print "'y' is not negative, so you won't see this.";<br /> }<br /> <br /> if ($common->isNegative('no')) {<br /> print "'no' is negative, so you'll see this";<br /> }<br /><br />This checks to see if the value is negative.<br /><br />Things that are negative are: 'n', 'no', 'f', 'false', any false numerical value (zero), or undef/null.<br /><br />smtpClient<br /><br /> my @aListOfRecipientEmailAddresses = ('', '', '');<br /><br /> my $contentOfEmailIncludingHeader = '',<br /> From => '',<br /> To => @aListOfRecipientEmailAddresses,<br /> Content => $contentOfEmailIncludingHeader });<br /><br />'Host' is optional and defaults to 'localhost'. Of course, you would need to be able to send email through whatever host you specify.<br /><br />'From' is a single email address that is used as the envelope address.<br /><br />'To' can be a single email address or a list of email addresses as a scalar or an array ref.<br /><br />'Content' is the content of the email, with header and body included.<br /><br />formatMoney<br /><br /> my $money = 515.3;<br /> $money = $common->formatMoney($money);<br /><br />$money is the non-formatted money amount. It will be returned as a formatted string, but with no currency symbol.<br /><br />sha1<br /><br /> my $something = 'This is something that will be hashed.';<br /> my $sha1Hash = $common->sha1($something);<br /><br />$something is any value that you want hashed. It can be a binary value or a simple scalar.<br /><br />$sha1Hash is a simple sha1 hex of whatever you passed in.<br /><br />Requirements:<br /><br />?*A* Perl<br />

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Address Affirmative Array Checks Choose Common Defaults Email Formatmoney Isaffirmative Isnegative Length Money Negative Print Quot Randomcode Reference Single Somerandomcode Specific Thisquot
Users rating: 0/10

License: Freeware Size: 10.24 KB
E-Mail Collectors  -  Email Verifier for Mac 1.0
Email Verifier is a web based email verification tool for email address verification services at affordable prices. Our email verifier service will help you clean your mailing list by validating each email you upload and verify email. Our 12...
360 KB  
Libraries  -  Mail::RFC822::Address 0.3
Mail::RFC822::Address is a Perl extension for validating email addresses according to RFC822. SYNOPSIS use Mail::RFC822::Address qw(valid validlist); if (valid("")) { print "Thats a valid addressn"; } if...
5.12 KB  
Mail Clients  -  NK2Edit x64 1.96
Every time that you type an email address or name in the message window of MS-Outlook, it automatically offer you a list of users and email address that you can choose. This feature is known as 'AutoComplete' and Outlook automatically build this...
Mail Clients  -  Portable NK2Edit 1.96
Every time that you type an email address or name in the message window of MS-Outlook, it automatically offer you a list of users and email address that you can choose. This feature is known as 'AutoComplete' and Outlook automatically build this...
Mail Clients  -  NK2Edit 1.70
Every time that you type an email address or name in the message window of MS-Outlook, it automatically offer you a list of users and email address that you can choose. This feature is known as 'AutoComplete' and Outlook automatically build this...
Modules  -  Multiple Email Addresses 5.x-1.x-dev 1.0
Only one email address is considered to be the "primary" email address, and will continue to behave as normal. Non-primary accounts are mostly functionally meaningless, except that during user registration any email address registered to a user...
Contact Management Tools  -  DYMO Address Fixer 3.1
DYMO's free and amazing new Address Fixer automatically checks any US address against the USPS master database while you're connected to the internet! Mistakes are automatically corrected, the ZIP+4 is added, and formatting is adjusted to Post...
953 KB  
Web Searching Tools  -  SEOSmart Future PR 1.5
SEOSmart Future PR checks 94 Google data centers to obtain your Web site's Google PageRank with a single click. The new SEO tool is completely free to use, and returns all 94 results in a matter of seconds thanks to the use of multiple threads to...
464.79 KB  
Miscellaneous  -  min/max "peaks" with Numeric 1.0
Given a large one-dimensional array, this scriptbreaks it into blocks of contstant length and compute min and max for each block, the so-called "peaks data".
Modules  -  Taxonomy Widget for Drupal 5.x-1.3
Implements a new form element named taxonomy_widget for selecting a vocabulary and then a term within that vocabulary. The term list is dynamically populated by jQuery when a vocabulary is selected.The element takes an array for the #default_value...
10 KB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Linux Software  -  SLAX 6.0+
Slax is a modern, portable, small and fast Linux operating system with a modular approach and outstanding design. Despite its small size, Slax provides a wide collection of pre-installed software for daily use, including a well organized graphical...
190 KB  
Utilities  -  LPAR2RRD 4.95-4
LPAR2RRD collects performance data and generates actual, historical and future trends utilization graphs of your virtual environment. It is agentless (it receives everything from the management stations like vCenter or HMC). The product supports...
2.25 MB  
Utilities  -  Nessconnect 1.0.2
Nessconnect is a GUI, CLI and API client for Nessus and Nessus compatible servers. With an improved user interface, it provides local session management, scan templates, report generation through XSLT, charts and graphs, and vulnerability trending.
819.2 KB  
Utilities  -  Dynamic Power Management 2.6.16
The Dynamic Power Management (DPM) project explores technologies to improve power conservation capabilities of platforms based on open source software. Of particular interest are techniques applicable to running systems, adjusting power parameters...
30.72 KB  
Utilities  -  Ethernet bridge tables
Ethernet bridge tables - Linux Ethernet filter for the Linux bridge. The 2.4-ebtables-brnf package contains the ebtables+bridge-nf patch. Be sure to check out the ebtables hp. This site also contains the arptables userspace tool.
40.96 KB  
Utilities  -  SaraB 1.0.0
SaraB works with DAR (Disk ARchive) to schedule and rotate backups on random-access media (i.e. hard drives, CDs, DVDs, Zip, etc. Basically anything except magnetic tapes.) This reduces hassle for the administrator by providing an automatic backup...
20.48 KB