|
-
Dec 11th, 2012, 02:24 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Capture Value from System Command in Perl
I'm new to the whole Perl, Unix, PHP thing, so bear with me, please.
Using the below code i'm basically trying to find the size of the file and store that value into $sret. However, it doesn't seem to be working. What am I doing wrong?
$sret = system("wc -c $path/GA_1_"."$fcnt.txt");
Last edited by lilmark; Dec 11th, 2012 at 03:30 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|