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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by broloc

  1. broloc

    pattern matching

    opss sorry i forgot..ok the data looks like this alert TCP $external any->$internal any (msg: "ISD282/shellcode....) i just want to update the data according to the IDS num.if the IDS num for example 'IDS282' not exist in the file A so it will take sentence IDS282 and copy it to file B...
  2. broloc

    pattern matching

    Hi all, i got problem about pattern matching.Could u all please give me some idea how i can do pattern macthing between 2 file. ok this is the scenario.. i got file A and file B.File A is existing data and File B is a downloadable data.What i'm going to do is i want to update file A using file...
  3. broloc

    regular expression-matching n character of a string

    maybe i didn't put the question right.i don't want to determine the number of character matched.now..i have a string,$mystring=charmed.and user will be ask to enter an input(a string of course),$input..and my program will determined if $input matched with $mystring.if it matched,my program will...
  4. broloc

    regular expression-matching n character of a string

    how do i match n character of a string using regular expression?..for example i got a string charmed,i want at least 4 character matched with exact position,so that if i keyed in cracked,the expression will return true.any advice will be much appriciated.thanx.
  5. broloc

    counting string length

    thnks a lot guys..got that code working already;)
  6. broloc

    counting string length

    any function in perl to count string length?i've tried length($string) but couldn't make it work.do i have to initialize any module to work with this function?
  7. broloc

    BigFloat.pm module

    million thanks to u..now,all i have to do is change the number '3' to decide how many floating point to be displayed.thnx!
  8. broloc

    BigFloat.pm module

    how do i use the ffround() function in BigFloat.pm? i'd try something,but the output is not what i want.here's my code. #!usr\bin\perl use Math::BigFloat; print &quot;Enter input:&quot;; $string = <STDIN>; chomp $string; $f = Math::BigFloat->new($string); $value = $f->ffround(zero); print...
  9. broloc

    perl/tk

    hi all.. 1). have u ever heard about perl/tk. 2). can i use perl into tcl/tk thanx..
  10. broloc

    i need help..... i face problem

    what do you mean by this coding.. because i didn't see any different of this coding... could you explain more.. Instead of this... SQL= &quot;UPDATE Tugasan SET &quot; SQL = SQL + &quot;Markah='&quot; & markah & &quot;'&quot; SQL = SQL + &quot;where AsgnCode='&quot;& b &&quot;' &quot...
  11. broloc

    i need help..... i face problem

    what do u mean by : Not sure if its the problem you are having.. but it does look like there is no space before where.. SQL = SQL + &quot;Markah='&quot; & markah & &quot;'&quot; SQL = SQL + &quot;where AsgnCode='&quot;& b &&quot;' &quot; please explain more detail..tq :)
  12. broloc

    parsing text....

    needd help.... i have a problem using to parse the data from the file. could some one please help me.... i got a text file named 'nmap.txt'with the data: 80/tcp http 23/tcp telnet what i'm going to do is read the data from the file using regular expression. so my output should be like this...
  13. broloc

    i need help..... i face problem

    i need help..... i face problem when i want to update my mark obtained and comment data from this interface..if i key in data in mark obtained text field in first line of retrived data from database but by default system insert the same value for the other line..means in te database it contain...
  14. broloc

    problem with foreach loops..and chdir

    and...for ur suggestion and ur request for the output,can i get back to it later?..maybe tommorow or the other day.but..really,thanks for ur help.
  15. broloc

    problem with foreach loops..and chdir

    urm..i dun really know how to explain this..but i'll try my best. first the while loop while (my $seq = $in->next_seq()) i'm not sure what it does as i picked this solely from the module documentation.but i think it going to stop when it reach the end of the sequence.I have run this program...

Part and Inventory Search

Back
Top