in reply to Re: new to CGI::Application
in thread new to CGI::Application

hi cool, Its the common problem between the windows user and the *nix based user. Here is the modified script.Try this
#!perl -w use strict; use CGI::Application::PhotoGallery; my $webapp = CGI::Application::PhotoGallery->new( PARAMS => { photos_dir => 'C:\\BigApache\\apache\\htdocs\\puppy_love\\ +photos', title => 'Austin Shelties', script_name => $0 } ); $webapp->run();
The windows based file system should contain the slashes in reverse then to the *nix based os Sasi

2004-12-06 Janitored by Arunbear - added code tags, as per Monastery guidelines

Replies are listed 'Best First'.
Re^3: new to CGI::Application
by dragonchild (Archbishop) on Dec 06, 2004 at 14:00 UTC
    Better would be to recommend usage of File::Spec so that the author doesn't have to worry about directory slashes. OS-dependency is sooo 1998!

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.