in reply to Re^2: Dumping bit vector in perl
in thread Dumping bit vector in perl
You can also save yourself a lot of typing by setting it up as an alias:
DB<5> =xb x unpack 'b*', xb = x unpack 'b*', DB<6> $_ = 'pqrs' DB<7> xb $_ 0 00001110100011100100111011001110 DB<8> $/ = '1234356577890' DB<9> xb $/ 0 1000110001001100110011000010110011001100101011000110110010101100111 +0110011101100000111001001110000001100
Be nice if you could put a list of aliases somewhere that would cause them to be loaded each time the debugger is started. I know there is a "db profile", but I can't remember any specifics. It must be in teh docs somewhere?
|
|---|