| phroggy | here's one: are there any other bots that will automatically suggest the corect speling (sp?) of a misspelled word or phrase, when requested in the way I just did? ...I didn't think so. :-) |
| Ani-_ | buubot spell: yes |
| buubot | yes is the correct spelling! |
| Ani-_ | Think again |
| TeraHertz | there is xml::parser and xml::rss for this work |
| Ani-_ | buubot spell: misspelled |
| buubot | misspelled is the correct spelling! |
| Ani-_ | buubot spell: mispelled |
| buubot | mispelled seems to be incorrect, perhaps you wanted one of: mi spelled mi-spelled misspelled dispelled spelled misapplied miscalled respelled misspell misled misplaced misplayed spilled |
| The_TiK | can someone pls tell me what i'm doing wrong "if ($_ =~ (.*\myspace.com\*)" i want it to check if $_ contians the string myspace.com but it isn |
| phroggy | uhh, yeah.. your regex is wrong. in several ways. |
| Dieu | the .* doesnt let you to reach myspqce.com |
| phroggy | first, it's not a regex. |
| mauke | first, that isn't a regex haha |
| phroggy | yeah. |
| mauke | The_TiK: if (index($_, "myspace.com") >= 0) |
| phroggy | if you want to be standard, use slashes as your delimiters; if you want to use parens, you need to explicitly use an m |
| The_TiK | (*\myspace.com*\)? |
| phroggy | also, if you're checking $_, you don't need to say so, it'll check $_ by default. I think you're rather confused as to what a backslash does... |
| mauke | The_TiK: no. |
| The_TiK | yeah, im new to this |
| mauke | The_TiK: if you don't like my index() solution, try perldoc perlretut |
| Newbie_ | Hello |
| mauke | it has nice examples and stuff |
| Newbie_ | chop (my $x = system("($prog) perl - e 'printf "x" x 2000') ); |
| The_TiK | ok |
| Newbie_ | why doesnt work |
| mauke | newbie_: no. |
| Newbie_ | how should i do it |
| mauke | newbie_: do what? |
| Newbie_ | what is wrong? |
| mauke | everything |
| Newbie_ | ok, i tell you waht i want to do i want to run nmap with an argument 2000 a. |
| mauke | system "nmap", "a" x 2000; |