This is not an error in perl. Re-writing your first command directly in the shell we see this:
$ echo "ibase=16;obase=16;(A5A5A5A5A5A5A5A5/8)" | bc 05 06 01 09 10 06 00 00 05 16 14 07 14 20 $
If this isn't the output you expect then you will need to dig deeper into usage of bc before wrapping it in anything else. I don't use it so can't comment further.
In reply to Re: bc within perl
by hippo
in thread bc within perl
by amudelkaa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |