-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello.
I have a very simple script to count a number of frames (files) in a
directory.
###
#start
###
#!/usr/bin/perl
$num ="1";
while ( $num = 1 )
{
$count = `ls -al|grep .dpx |wc -l`;
print "Frames in --> ";
Wiggins d'Anconia wrote:
So since you are not using the OOP interface to CGI, you need to tell
Perl to bring the functions into the local namespace so you can use them
in the way you are, so something like:
use CGI qw/:standard/; # load standard CGI routines
Should help matters greatl