and when I try to do something like:sub x{ local(*A)=$_[0]; if(opendir(R,"/usr")){x(*R); } }
I get:sub x{ local(*A)=$_[0]; if (opendir(R,"/usr")){while(<R>){print;} } }
[s0ttle@ween]%perl subtest Read on closed filehandle <C> at a line 23. [s0ttle@ween]%fuq fuq: Command not found. [s0ttle@ween]%
In reply to subs && typeglobs by s0ttle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |