<p>What could the following line possibly mean?</p>

<pre><code>my $x = shift;
</code></pre>

This is usually an idiom for: $x is a local variable assigned to the first parameter passed to the subroutine, although.
```
```
my ($x) = @_;
```
```
is probably clearer (and it doesn't modify the argument list).