I was create a Perl script that can be transfer file from one machine to another
machine using Net::SFTP module...
Here is the script
#!/usr/bin/perl
use Net::SFTP;
#use strict;
#use warnings;
$host = $ARGV[0];
$anonyuser = $ARGV[1];
if($ARGV[1] eq "-a") {
Bee wrote:
Hi, I am very newbie for using the function 'pack', and here I have some questions :
Have you read the documentation for pack?
perldoc -f pack
And unpack?
perldoc -f unpack
Have you read the pack and unpack tutorial?
perldoc perlpacktut
Q1. Can I expect that pack can do this for me ?
Hi, I am very newbie for using the function 'pack', and here I have some questions :
Q1. Can I expect that pack can do this for me ?
- compress a text file in smaller size
- besize template 'aAuU', anything else tempplate I can use to prepare fix length
data ?
- if yes, but how do I a