develooper Front page | perl.beginners | Postings from June 2012

Unfamiliar calling of a subroutine

Thread Next
From:
sono-io
Date:
June 7, 2012 20:21
Subject:
Unfamiliar calling of a subroutine
Message ID:
EDB6EA09-90F0-4C26-84E2-E863F2FD3270@fannullone.us
	Would someone be so kind as to explain the following, or at least point me to further reading?

$item = $main::global->{open}->{catalog}->SurfDB::split_line($main::global->{form}->{'itemid'});

	The part I'm having trouble understanding is "$main::global->{open}->{catalog}->".  What does that do to the split_line sub that's being called?  What does it do differently than just calling SurfDB::split_line($main::global->{form}->{'itemid'}) by itself?

Thanks,
Marc
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About