This works but I'd wanted to add some octal constants so I added the following code to the above:package Constants; use base Exporter; @ISA = qw (Exporter); @EXPORT = qw( $var1 $var2); $var1 = \'val1'; $var2 = \'val2';
I included B_OGUS in @EXPORT which returned in proper value in decimal (400) but not in octal. How can I get the value to return in octal so I can use it in chmod? chmod(B_OGUS,$filename); Thank youuse constant B_OGUS => 0620;
In reply to constant issue by marcpestana
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |