Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. orangegal

    beginner's question about socket programming

    how can i just send the variables over without printing it?? for instance, i just send those variables for the other program to use on the server side. just alittle confused
  2. orangegal

    beginner's question about socket programming

    thank you paul! but if i want to send 5 messages over, what do i do? how about 20 variables and their values??
  3. orangegal

    beginner's question about socket programming

    dear all, how do i send an array of items, for example a file or some variables, using perl?? i found the following sample code online, but it only send a message over thanks alot =================================== #!/usr/bin/perl -w use IO::Socket; my $sock = new IO::Socket::INET (...
  4. orangegal

    grep? regular expression??

    thanks, Duncan, i might have some more questions very soon~~ :-)
  5. orangegal

    grep? regular expression??

    never mind, i made it work, thank you so much for your kindness!!
  6. orangegal

    grep? regular expression??

    Brian i need help again, i tried your way alone and several other ways, it all worked out, but after i put it in my program, it kept telling me "could not extract info", anyway, below is my program. the program first extract the file into paragraphs, and then it split the paragraph into lines...
  7. orangegal

    grep? regular expression??

    Brian, i tried it, it worked!! thank you so much~ but i might have more Qs later, i am still a little confused about regular expressions
  8. orangegal

    grep? regular expression??

    numbers
  9. orangegal

    grep? regular expression??

    hey, guys, i am alittle confused about regular expression, will somebody please help me?? thanks a million! if i have the following sentence, how would i extract each part out?? **.**.**.** -> ***.**.**.*** ICMP TTL:127 TOS:0x0 ID:24623 the pattern and variables should be like this: Variable1...
  10. orangegal

    more questions regarding spliting a file by paragraphs

    thank you so much rharsh!!! it seems that what you did is the same as mine, but it made the whole thing work!, i can't be happier
  11. orangegal

    more questions regarding spliting a file by paragraphs

    thanks, rharsh for instance, here's my dataset, if i want to seperate these two paragraph, how would i do it? actually, my current goal is to sort the data, for instance, the first line is the "alert name", then "classification" then "priortity"... etc...
  12. orangegal

    more questions regarding spliting a file by paragraphs

    okok, here's what i did, but it only prints out the first line of the document, i also tried "\n\n", it does the same thing, this one little problem is killing me. thanks for everyone's help ================================================== $file = 'test'; open FILE, $file; $file1=<FILE>...
  13. orangegal

    how to split a file by paragraph? instead of by lines

    thanks for your help
  14. orangegal

    How to check for an empty line

    if ($line = ~ /^\s+$/) #empty line
  15. orangegal

    Removing an element from array

    pop would do, i think

Part and Inventory Search

Back
Top