On May 31, 9:27 am, [EMAIL PROTECTED] (Alma) wrote:
> sub delete_file()
> {
>         my $self = shift;
>         my $file_path = @_;

That sets $file_path to the number of arguments in the call to the
method delete_file().

To set $file_path to the first of the arguments in the call to the
method delete_file()...

        my ($file_path) = @_;


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


Reply via email to