And your question's relevance to Perl is.... uh.... um... ah...
Oh! "not specified.
So that sorta' makes it hard to answer in the confines of "PerlMonks, the Monastery"
Perhaps you should direct your question to a pi-oriented-site (mathematics)... or a bakery if it's pie making you're seeking... or just maybe, one of the sites dedicated to RasberryPi.
But if we are to infer that the "scp module" is a Perl module, as opposed to the python flavor or one of the variants created for Android, perhaps you'd like to read On asking for help and present some code that reflects the current (even if 'failed', perhaps) state of your efforts.
Come, let us reason together: Spirit of the Monastery
If you didn't program your executable by toggling in binary, it wasn't really programming!