#perl - Tue 27 Mar 2007 between 09:00 and 09:10



dazjorzhmm
somianI 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.
dazjorzsomian: did you ever do anything with Test::Expect?
or any other Expect
masupsomian, try this if you can: perl -e 'my $cmd = "diff <(sort file1) <(sort file2)"; printf "[%s]...\n", $cmd; exec $cmd;'
JeeBeeI'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!
dazjorzI'd like to fork, or give a subroutine or so, instead of running an external file
PatternerJeeBee: why curl and not e.g. WWW::Mechanize?
dazjorzhmm
actiondazjorz wonders
dazjorzwonders
JeeBeePatterner: perhaps i should, i don't know where my script goes wrong...
masupsomian, no, I'm using open and exec to get standard output like "open (CMD,"-|") || exec $cmd;"
dazjorzif I just run perl on the command line or so
JeeBeePatterner: I'll try that approach too
dazjorzor $0
:)
PatternerJeeBee: just asking... (because I use WWW::M and it works for me :)
kd_sometimes you've just gotta drop back to lwp though
unfortunately
dazjorzoh, well, nevermind
i'll use an expect file :)
Khisanththat is an odd statement
masupsomian, the error is "sh: -c: line 0: syntax error near unexpected token `('"
somian, and "sh: -c: line 0: `diff <(sort file1) <(sort file2)'"
somianYes, masup (you need to work on patience a little) ... I get "sh: Syntax error: "(" unexpected" here too.
dazjorzeval: a..Z
buubotdazjorz: 1E0
dazjorzeval: 'a'..'Z'
buubotdazjorz: 1E0
dazjorzeval: 'a'..'z'
buubotdazjorz: 1E0
dazjorz..?
eval: a..z
buubotdazjorz: 1E0
dazjorzeval: [a..z]
buubotdazjorz: ['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']
dazjorzdoh.

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 107 114 

IrcArchive