User Profile

Collapse

Profile Sidebar

Collapse
Sidra Nisar
Sidra Nisar
Last Activity: Aug 9 '10, 07:22 PM
Joined: Feb 5 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Sidra Nisar
    replied to How to close a thread
    Thank you very much. It worked for me.
    See more | Go to post

    Leave a comment:


  • Sidra Nisar
    started a topic How to close a thread

    How to close a thread

    Hi.
    In my program, I'm initiating a thread in (console application) by getting a signal from my client(windowsf orm)who hits a connect button and it works the way i want.....
    Now i am trying to close this thread when my client clicks on the disconnect button but i'm unable to find a way.

    Kindly suggest what should be done to close the thread and terminate the form.

    Here is the code I tried

    Code:
    
    
    ...
    See more | Go to post

  • Sidra Nisar
    replied to Packet Capturing Using PERL
    in Perl
    Thank you very much Jeff. I will certainly do that.

    Regards
    See more | Go to post

    Leave a comment:


  • I meant the USB external memory drive. Actually the LINUX version which is in my use is a "ASTERISK+centO S 5.3" package with a limitation of having only CLI mode. No GUI. Now when I use the command to mount the USB, it recognizes it but does not display its contents. So, please suggest me how to deal with it.

    By supported applications I meant that I was trying to install an IDE C compiler by the name of "eclipse"...
    See more | Go to post

    Leave a comment:


  • how to install a software from cd in linux (CLI) ?

    hello.....i want to install a C language compiler "Eclipse" IDE on my linux centOS 5.3 in CLI mode from a CD......kindly help me out how to access the contents of this CD.....
    Thank you...
    See more | Go to post

  • How to display and access USB contents on centOS linux

    Which command is used to display the contents of a USB in CLI mode of centOS linux?
    Also how do I install a supported software on same using a USB?
    See more | Go to post

  • Sidra Nisar
    replied to Packet Capturing Using PERL
    in Perl
    Hello……I am working on voice transmission control through linux as my project in high school……I need to know if the comments I have made on the following program are correct….

    Object of the perl program is to build a network analyzer that captures local area network (LAN) traffic destined for the local domain name system (DNS) server and logs information on which IP addresses request which IP name resolutions.

    Code:
    
    
    ...
    See more | Go to post

    Leave a comment:


  • Sidra Nisar
    replied to Problem Reading From File
    in Perl
    ............... ............... ............... ............... ............... ............... ............... ............... ......
    See more | Go to post

    Leave a comment:


  • Sidra Nisar
    started a topic Packet Capturing Using PERL
    in Perl

    Packet Capturing Using PERL

    Hello……I am working on voice transmission control through linux as my project in high school……I need to know if the comments I have made on the following program are correct….

    Object of the perl program is to build a network analyzer that captures local area network (LAN) traffic destined for the local domain name system (DNS) server and logs information on which IP addresses request which IP name resolutions.

    Code:
    <1
    ...
    See more | Go to post
    Last edited by numberwhun; Mar 19 '10, 05:55 PM. Reason: Please use code tags!

  • Sidra Nisar
    started a topic access data of configuration files
    in Perl

    access data of configuration files

    I want to know that how does a configuration file take input and where does it keep the data saved. I need to write a script that takes input from a network config file and displays it using perl script.

    Also, can i create a config file myself if I have the admin rights?

    Waiting for your response.

    Thank you
    See more | Go to post

  • Sidra Nisar
    replied to Problem Reading From File
    in Perl
    Thank you so much for your help. I am now able to read files and working more on it.
    Regards.
    See more | Go to post

    Leave a comment:


  • Sidra Nisar
    replied to Problem Reading From File
    in Perl
    This might be a typing mistake here.
    in my script, i used it as "text.txt". ...
    i executed the following script:
    Code:
    #!/usr/bin/perl -w 
    $data_file="text.txt ";  
    open(DAT, $data_file) or die"terminate the file: $!";  
    @raw_data=<DAT>;  
    close(DAT);  
    foreach $student (@raw_data)  
    {  
     chomp($student);  
     ($name,$roll_no,$class)=split(/\|/,$student);
    ...
    See more | Go to post
    Last edited by numberwhun; Feb 10 '10, 06:15 PM. Reason: PLEASE USE CODE TAGS!!!!!

    Leave a comment:


  • Sidra Nisar
    replied to Problem Reading From File
    in Perl
    this isn't helping either.i get the error " no such file or directory at file1.pl line3...but i do have the file text.txt written in the same directory and i have created it musing mkdir.. is there another command i should use to create "files"...

    please direct me how to open this text.txt file .. i will make the changes to the script as you suggested myself..
    thanks
    See more | Go to post

    Leave a comment:


  • Sidra Nisar
    replied to Problem Reading From File
    in Perl
    I tried the following code:
    Code:
    #!/usr/bin/perl -w
    $data_file=" text.txt "; 
    open(DAT, $data_file) or die"terminate the file: $!"; 
    @raw_data=<DAT>; 
    close(DAT); 
    foreach $student (@raw_data) 
    { 
     chomp($student); 
     ($name,$roll_no,$class)=split(/\|/,$student); 
     print "The student  $name bearing roll number $roll_no is in class $class"; 
     print
    ...
    See more | Go to post
    Last edited by numberwhun; Feb 10 '10, 04:37 AM. Reason: PLEASE USE CODE TAGS!!!

    Leave a comment:


  • Sidra Nisar
    replied to Problem Reading From File
    in Perl
    Jeff,

    I am grateful to you for pointing out my mistake. Please accept my apologies for it.

    Regards,
    Sidra
    See more | Go to post

    Leave a comment:


  • Sidra Nisar
    replied to Problem Reading From File
    in Perl
    Readin Input From A File

    i have recently started learning perl. I am having a problem while reading input from a file. Kindly help me out to resolve this issue. The details of the script are as follows:

    i made a text file by the name “text.txt” and the contents were

    Sidra|38|BE
    Hira|48|BE
    Shagufta|50|BE

    Then i wrote the following script
    Code:
    open(DAT, "text.txt");
    ...
    See more | Go to post
    Last edited by numberwhun; Feb 9 '10, 01:08 PM. Reason: Please use code tags!

    Leave a comment:


  • Sidra Nisar
    started a topic Problem Reading From File
    in Perl

    Problem Reading From File

    hello...
    i have recently started learning perl.....and having issues when i try to read input from another file. the details of a script that i tried to run are as follows:

    i made a text file by the name “text.txt” and the contents were
    Sidra|38|BE
    Hira|48|BE
    Shagufta|50|BE

    Then i wrote the following script
    Code:
    open(DAT, "text.txt"); 
    $data_file=" text.txt ";
    ...
    See more | Go to post
    Last edited by numberwhun; Feb 5 '10, 01:35 PM. Reason: Please use code tags
No activity results to display
Show More
Working...