Richard Proctor wrote:


Maybe there are some more...

$?perl Which version of perl am I in

$?parrot Which version of parrot is perl running on $?parrot_runloop Which runloop is running ? etc...

>And relating to the outside world
>
> $?os       Which operating system am I operating on

$?pid           Which process ID
$?pwd           Which working directoy
$?uid           Which user ID
etc...

I like it.

Will modules be able to add own / override existig "which"-variables ?
example: a module that provides threads, can it somehow add a

$?thread        Which tread am I in


And is it possible to use these in macros aswell?

Thomas Seiler

Reply via email to