Closed

Displaying filesize in PERL

Hello, I wish to display the filesize next to each file printed in the array below Please note - the 2 array symbols are now an astrisk to allow me to send this email here at rent a coder.... I tried $ENV{'CONTENT_LENGTH'}hoping to do just that but had no luck? I would be gratefull if one of you pro's could help me add this tid bit to my view sub below, so that I may learn what I was mainly doing wrong. Thank you in advance!!! sub viewaudio { opendir(IMD, $dirtoget2) || die("Cannot open directory"); *thefiles= readdir(IMD); closedir(IMD); foreach $f (*thefiles) { unless ( ($f eq ".") || ($f eq "..")) { print "$f"; } } print "$footer"; }

## Deliverables

Complete source code of all programming work done

Skills: Engineering, Linux, MySQL, Perl, PHP, Software Architecture, Software Testing, UNIX

See more: programming symbols, programming in perl, programming perl, rent an coder, rent a pro, learn php programming, imd, php astrisk, filesize, perl programming, send email die, perl directory file, directory pro, email pro code, php array add, perl print, php pro bit, pro php programming, perl coder, code perl, php code print view, displaying, code perl send, php filesize, foreach file

About the Employer:
( 1 review ) United States

Project ID: #2825314

3 freelancers are bidding on average $15 for this job

nitintutlani

See private message.

$11.05 USD in 14 days
(11 Reviews)
5.0
maxdemianvw

See private message.

$17 USD in 14 days
(0 Reviews)
0.0
richardcorreia

See private message.

$17 USD in 14 days
(0 Reviews)
0.0