| Casan | whoever: yes, although one is an firstname.lastname@host.tld address which I suspect being the culprit |
| action | somian is sorry for any bored people who missed the conflagration that just took place in ##c ;-) |
| somian | is sorry for any bored people who missed the conflagration that just took place in ##c ;-) |
| loiic | yes but whoever it wont work when acceptable values will be 10 or 11 |
| Casan | whoever: because I think it violates an rfc somewhere, but it treats all the other addresses bad |
| dazjorz | Hmm This is odd Yesterday or the day before that I got an e-mail about Term::Menu |
| whoever | loiic: $server =~ m/^\d+$/; accepts ALL numeric values... |
| dazjorz | about the menu order etc that's why I made a quick fix earlier today and uploaded 0.06 |
| loiic | yes, but i dont want to accept them all, just the one that are defined |
| dazjorz | now I got another e-mail about it, from somebody else :/ |
| loiic | what is missleading is that i am matching numbers, but those number could be strings or keys instead anyway, thanks for the help, it's now working |
| masup | hi, why perl is giving syntax error when exec shell command with process substituition <( command ) in parentesis ? |
| loiic | one more thing, is there any other reciprocal to if ($var =~ m//) other than if (($var =~ m//) == 0) ? |
| somian | masup: I don't know. |
| masup | for instance, diff <( sort file1) <(sort file2) I got "sh: -c: line 0: syntax error near unexpected token `('" |
| whoever | thats a sh error, not a perl error |
| somian | Yes, as expected |
| whoever | you might want to use ' ' |
| somian | masup: are you sure that your sh supports that process substitution thing? |
| masup | whoever, I'm using "open $cmd" where $cmd has the syntax command. somian, I believe my shell supports because it works directly on shell. somian, I'm using bash |
| somian | However, it is being reported by "sh", masup |
| whoever | masup: do print $cmd; and check if the output works, too |
| masup | somian, my /bin/sh is a symbolic link to bash whoever, yes, the print works fine. whoever, how do I know exactly what shell I'm running when I do exec, open, or backsticks? |
| whoever | ask the shell :p |
| dazjorz | Hmm |
| action | dazjorz is going to remove Expect.pl and fork to do the job, if possible |
| dazjorz | is going to remove Expect.pl and fork to do the job, if possible |
| action | dazjorz wonders if he can just use "|" as a command to Expect |
| dazjorz | wonders if he can just use "|" as a command to Expect |
| masup | whoever, yes, definetly I'm running the bash shell |
| somian | What OS, btw, masup? |
| action | dazjorz guesses linux |
| dazjorz | guesses linux |
| masup | linux |
| dazjorz | woot! :) |