Help for this page
my @decoded = unpack '...', substr $bigscalar, $offset, $size;
substr( $bigscalar, $offset, $size ) = pack '...', @newValues;
my $replacement = pack '...', @newValues;
substr( $bigScalar, $offset, length $replacement ) = $replacement;
## Create a scalar
perl> $bigScalar = 'the quick brown fox jumps over the laxy dog';;
## The typo is now corrected.
perl> print $bigScalar;;
the quick brown fox jumps over the lazy dog
There is no Extraterrestrial life
There aren't any suitably capable Extraterrestrials
Interstellar travel is too difficult
We're too uncool / not worth the trouble
What do you mean they haven't visited?
Results (562 votes). Check out past polls.