Popular recipes by Rajkumar Jain http://code.activestate.com/recipes/users/4040865/2007-03-11T07:37:16-07:00ActiveState Code RecipesInstalling Perl modules on Windows (Perl)
2007-03-11T07:25:55-07:00Rajkumar Jainhttp://code.activestate.com/recipes/users/4040865/http://code.activestate.com/recipes/502297-installing-perl-modules-on-windows/
<p style="color: grey">
Perl
recipe 502297
by <a href="/recipes/users/4040865/">Rajkumar Jain</a>
.
</p>
<p>This discusses about installing Perl modules on Windows, using PPM tool or manually.</p>
Simple Example demonstrating Ajax Implementation using Perl (Perl)
2007-03-11T07:37:16-07:00Rajkumar Jainhttp://code.activestate.com/recipes/users/4040865/http://code.activestate.com/recipes/502299-simple-example-demonstrating-ajax-implementation-u/
<p style="color: grey">
Perl
recipe 502299
by <a href="/recipes/users/4040865/">Rajkumar Jain</a>
.
</p>
<p>In the example below, we have a table containing Student names and Marks. Every row has an Edit button, by which user can edit the information for that row. We have used Microsoft Access as the Database to keep things very simple. In order to run the below example code you will have to create a table by the name “Student” in MS Access”. It should have the following columns.</p>
<p>Column Name Data type
Sl_No(Primary Key) Number
Name Text
Marks Number</p>
<p>Also you need to create a DSN by the name “mydsn” pointing to the Access DB.</p>
<p>The basic logic here used in the example is that we have two separate rows for View and Edit (for every Student). Initially we hide the Edit row (by using style="display:none") and display the View Row(by using style="display:block"). When the user clicks on the “Edit” button, the View row becomes hidden and the Edit row is displayed. We have used JavaScript to toggle between the rows. Below is the code snippet used in files (AjaxExample.pl and student.js).</p>
Perl Script to obtain data file in a desired format (Perl)
2007-03-11T07:30:50-07:00Rajkumar Jainhttp://code.activestate.com/recipes/users/4040865/http://code.activestate.com/recipes/502298-perl-script-to-obtain-data-file-in-a-desired-forma/
<p style="color: grey">
Perl
recipe 502298
by <a href="/recipes/users/4040865/">Rajkumar Jain</a>
.
</p>
<p>This discusses about using Perl, how we can obtain a data file in a particular desired format, given a data file in a random format. By format, we refer to the order of columns in the input data file. Using this Perl script, we obtain output data file in a particular format and we get another file having discarded data lines, based on some filtering condition.</p>