in reply to File upload became deaf after upgrading from 5.8.7 to 5.8.9
#!/usr/bin/perl use strict; use warnings; use CGI::Upload; use Number::Bytes::Human qw(format_bytes); my $file = shift @ARGV; my $upload = CGI::Upload->new; $upload->file_name( "$file" ); my $h = Number::Bytes::Human->new(); my $h_size = format_bytes(-s $file); print $h_size, "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File upload became deaf after upgrading from 5.8.7 to 5.8.9
by Andre_br (Pilgrim) on Nov 05, 2010 at 13:01 UTC | |
by Khen1950fx (Canon) on Nov 05, 2010 at 14:01 UTC |