#perl - Tue 27 Mar 2007 between 08:44 and 08:59



Casanwhoever: yes, although one is an firstname.lastname@host.tld address which I suspect being the culprit
actionsomian is sorry for any bored people who missed the conflagration that just took place in ##c ;-)
somianis sorry for any bored people who missed the conflagration that just took place in ##c ;-)
loiicyes but whoever it wont work when acceptable values will be 10 or 11
Casanwhoever: because I think it violates an rfc somewhere, but it treats all the other addresses bad
dazjorzHmm
This is odd
Yesterday or the day before that I got an e-mail about Term::Menu
whoeverloiic: $server =~ m/^\d+$/; accepts ALL numeric values...
dazjorzabout the menu order etc
that's why I made a quick fix earlier today and uploaded 0.06
loiicyes, but i dont want to accept them all, just the one that are defined
dazjorznow I got another e-mail about it, from somebody else :/
loiicwhat 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
masuphi, why perl is giving syntax error when exec shell command with process substituition <( command ) in parentesis ?
loiicone more thing, is there any other reciprocal to if ($var =~ m//) other than if (($var =~ m//) == 0) ?
somianmasup: I don't know.
masupfor instance, diff <( sort file1) <(sort file2)
I got "sh: -c: line 0: syntax error near unexpected token `('"
whoeverthats a sh error, not a perl error
somianYes, as expected
whoeveryou might want to use ' '
somianmasup: are you sure that your sh supports that process substitution thing?
masupwhoever, 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
somianHowever, it is being reported by "sh", masup
whoevermasup: do print $cmd; and check if the output works, too
masupsomian, 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?
whoeverask the shell :p
dazjorzHmm
actiondazjorz is going to remove Expect.pl and fork to do the job, if possible
dazjorzis going to remove Expect.pl and fork to do the job, if possible
actiondazjorz wonders if he can just use "|" as a command to Expect
dazjorzwonders if he can just use "|" as a command to Expect
masupwhoever, yes, definetly I'm running the bash shell
somianWhat OS, btw, masup?
actiondazjorz guesses linux
dazjorzguesses linux
masuplinux
dazjorzwoot! :)

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 99 106 113 

IrcArchive