User Profile

Collapse

Profile Sidebar

Collapse
npidaparthy
npidaparthy
Last Activity: Sep 26 '09, 03:46 AM
Joined: Feb 16 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • npidaparthy
    replied to Open Perl IDE Compiling Problems
    in Perl
    You can use Eclipse for Perl with a plug in.

    it will give help when u place mouse on a keyword and lots of features are available.

    but it is having some bugs but it will be so useful aspecially for Object Oriented Perl.
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to Unable to install linux on hard disk
    You can have dual boot, not an issue.

    no need uninstall the XP.

    but if you install linux in D Drive , the drive and the contents can not be seen in windows [because the file types are different which windows will not be able to identify] and also the data will be erased before installing.

    select D: and format it and organize the drive with the following file systems with req size

    /
    ...
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to On button
    Thanks ,

    on copy paste it got misplaced.

    -Nagendra...
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to Drop down list using CSS
    try the followng code for adding color for the drop down by using CSS

    [CODE=HTML]

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    <HTML>
    <HEAD> <TITLE> CSS Example </TITLE>

    <style type="text/css">
    .altTextField {
    background-color: lightblue;
    font-family:...
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to On button
    For getting color in buttons you need to use CSS [cascading stylesheets]

    see the below code i have written which will print the text on Button in Red color

    let me know if this helps you.

    -Nagendra

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    
    <HTML>
    <HEAD> <TITLE>
    ...
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to pass a parameter using system command.
    in Perl
    try thr following, its working for me

    system('perl display.cgi AAA BBB);

    -NP...
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to unix
    go to bash shell

    type "bash" at the command prompt

    press "Tab" twice

    you will get all the commands in your screen

    -Nagendra Pidaparthy...
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to doubt ! help me
    in Perl
    Plink (PuTTY Link)

    In order to use Plink, the file plink.exe will need either to be on your PATH or in your current directory

    you can get the plink.exe from Internet

    -Nagendra Pidaparthy
    See more | Go to post
    Last edited by eWish; Feb 23 '08, 05:12 PM. Reason: Removed quote tag

    Leave a comment:


  • npidaparthy
    replied to doubt ! help me
    in Perl
    try the following
    [CODE=perl]
    system('plink -pw mypass username@machin e');
    [/CODE]

    let me know if it helps

    -Nagendra Pidaparthy...
    See more | Go to post

    Leave a comment:


  • Hi

    read the file contents into an array like this
    [CODE=perl]@array = <SOURCE>;[/CODE]

    once the file is in the array you can loop through the array and take two lines [none od them should ne null - betwwn two lines there might be blank lines, they have to be supressed]
    then
    [CODE=perl]if( $arr[i]=~ m/public class/ ) and $arr[i-1] !~ $lineToBeInsert ed
    #tthen
    print DEST $arr[i-1]...
    See more | Go to post
    Last edited by eWish; Feb 19 '08, 03:17 PM. Reason: Please use [CODE][/CODE] tags

    Leave a comment:


  • npidaparthy
    replied to compare two datr files
    in Perl
    it will be helpful for us if you can mention the file format.

    i am assuming the file format as below

    date:file contents
    Option-1
    in the above case take the lines if the file and use split(/:/,$lineInFile1) to get the contents and use the same to compare both files by what way you require.

    Option-2
    use split and get the file contents and then generate 2 temp files for both of your files...
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to Sending mail from perl in unix
    in Perl
    try to run the sendmail command from unix prompt, then you will have some understanding on where exactly the problem lies, ie., unix config, or calling from perl

    also you can try using mailx utility in Unix

    -Nagendra
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to Connecting to command prompt
    in Perl
    Hi Bunny,

    inaddition to back quotes, you can also use 'system' as follows

    system('mkdir testdir');

    system will execute os commands from Perl

    -Nagendra Pidaparthy...
    See more | Go to post

    Leave a comment:


  • npidaparthy
    replied to What is a CSV file?
    in Perl
    CSV is Comma Seperated Value

    when u save the file with csv extension and, when u try to open the file it will open in Excel

    if you want to do some operations on the file and put in the excel, Perl supports that also

    let me know if it this information helps you....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...