| dazjorz | hmm |
| somian | I don't know why it doesn't work in the case of using it from Perl. You are using the two-arg form of open(), right? I guess you'd have to be or your wouldn't be seeing the error from sh ;-) n.m. |
| dazjorz | somian: did you ever do anything with Test::Expect? or any other Expect |
| masup | somian, try this if you can: perl -e 'my $cmd = "diff <(sort file1) <(sort file2)"; printf "[%s]...\n", $cmd; exec $cmd;' |
| JeeBee | I'm trying to save a webpage by filling in a form with perl and curl. it has a jsessionid inside the form's action field. could anybody give me a hand? -> http://sial.org/pbot/23811 <- thanks in advance! |
| dazjorz | I'd like to fork, or give a subroutine or so, instead of running an external file |
| Patterner | JeeBee: why curl and not e.g. WWW::Mechanize? |
| dazjorz | hmm |
| action | dazjorz wonders |
| dazjorz | wonders |
| JeeBee | Patterner: perhaps i should, i don't know where my script goes wrong... |
| masup | somian, no, I'm using open and exec to get standard output like "open (CMD,"-|") || exec $cmd;" |
| dazjorz | if I just run perl on the command line or so |
| JeeBee | Patterner: I'll try that approach too |
| dazjorz | or $0 :) |
| Patterner | JeeBee: just asking... (because I use WWW::M and it works for me :) |
| kd_ | sometimes you've just gotta drop back to lwp though unfortunately |
| dazjorz | oh, well, nevermind i'll use an expect file :) |
| Khisanth | that is an odd statement |
| masup | somian, the error is "sh: -c: line 0: syntax error near unexpected token `('" somian, and "sh: -c: line 0: `diff <(sort file1) <(sort file2)'" |
| somian | Yes, masup (you need to work on patience a little) ... I get "sh: Syntax error: "(" unexpected" here too. |
| dazjorz | eval: a..Z |
| buubot | dazjorz: 1E0 |
| dazjorz | eval: 'a'..'Z' |
| buubot | dazjorz: 1E0 |
| dazjorz | eval: 'a'..'z' |
| buubot | dazjorz: 1E0 |
| dazjorz | ..? eval: a..z |
| buubot | dazjorz: 1E0 |
| dazjorz | eval: [a..z] |
| buubot | dazjorz: ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'] |
| dazjorz | doh. |