On Jul 18, 2005, at 10:57, Mathias Pasquay wrote:

Now i change the line "my $test = shift @_" into "my $test = shift". This should work because shift should use @_ by default. But in this case $test is empty an the second print command prints still the whole @_.

Have a look at perldoc -f shift, its default depends on where it is used.

-- fxn

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to