http://qs321.pair.com?node_id=785991


in reply to Re^2: POE::Wheel::Run & Tk Problems
in thread POE::Wheel::Run & Tk Problems - Solved

Well, sure. It would be silly for an operating system to be unable to list directory contents. CMD.EXE has a built-in "dir" command, but there is no actual DIR.EXE or DIR.COM program in the version I just checked.

Nevertheless, system() seems able to execute shell built-ins on Windows:

C:\>perl -wle "system('set')" ALLUSERSPROFILE=C:\Documents and Settings\All Users
Whereas this sort of thing fails in UNIX:
% perl -wle 'system "set"' Can't exec "set": No such file or directory at -e line 1.