![]() |
| Home RSS Directory F.A.Q Suggest A Feed Try Custom Feed Sonneries Portable |
Latest Flows from this sub-category: random selection from this sub-category: |
Wed, 30 Apr 2008 18:15:45 +0200 Serialization is used to store data and objects into a file for instance. The serie of bytes that is generated can then be re-used to generate an object that will be identical (a clone) to the stored object. In Perl this can be achieved through the Storable module. This tutorial will quickly show how to store and retrieve such objects. attached file: type: text/plain size: 386 bytes here Sat, 12 Apr 2008 19:45:36 +0200 This code sample shows how one could compute the md5sum of a file using Perl's Digest::MD5 module. attached file: type: text/plain size: 593 bytes here Fri, 11 Apr 2008 11:08:45 +0200 While some languages offer an is_float function, Perl seems to only rely on regex. Thu, 10 Apr 2008 17:13:41 +0200
While some languages offer a isint function, I could not find it in perl. Tue, 08 Apr 2008 22:31:07 +0200
Conditional expressions in python does not have the same syntax than in C. This code sample shows how to get the same result in python. Mon, 07 Apr 2008 22:43:47 +0200 This code sample will show how to find the last word in a string. A word being composed of letters and numbers only. Fri, 04 Apr 2008 18:40:51 +0200 How to go through each elements of an array. Wed, 02 Apr 2008 19:43:08 +0200 #!/usr/bin/env python
# iterating through an array
|
|
contact |