CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Post deleted by b0rre

 



apekatt
Novice

Jan 8, 2008, 11:47 AM

Post #1 of 4 (661 views)
Post deleted by b0rre

 


KevinR
Veteran


Jan 8, 2008, 1:30 PM

Post #2 of 4 (657 views)
Re: [b0rre] Struggling with ARGV@ and file path [In reply to] Can't Post

scalars need the scalar designator: $:

$path = $ARGV[0];
$filename = $ARGV[1];

use the warnings and strict pragmas in your perl code and you will get useful feedback about errors and potential problems:

use warnings;
use strict;
-------------------------------------------------


apekatt
Novice

Jan 8, 2008, 1:47 PM

Post #3 of 4 (653 views)
Post deleted by b0rre [In reply to]

 


KevinR
Veteran


Jan 8, 2008, 2:27 PM

Post #4 of 4 (643 views)
Re: [b0rre] Struggling with ARGV@ and file path [In reply to] Can't Post

open(LOG, ">>$pathfilename") or die "The reason $pathfilename could not be opened is: $!";
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives