in reply to system call vs. back quotes
I always try to use perl internal functions if possible. Only if there are very important reasons, I use operating system commands, e.g. $anycommand = "dir /b /s *.doc"; or the like instead of File::Recurse, because it is faster.unless (open (CMD, "$anycommand |")){ die "Error in executing $anycommand: $!\n"; } else { my @result = <CMD>; close (CMD); }
Best regards,
perl -e "$_=*F=>y~\*martinF~stronat~=>s~<A HREF="/index.pl?node=%5E%5Cw&lastnode_id=1072">^\w</A>~~g=>chop,print"
|
|---|