SurfShopPRO download issue

2013-11-18 Thread SSC_perl
I'd like to apologize to everyone who tried to download the SurfShopPRO script. Unbeknownst to me, the zip file was corrupt and could not be opened. I'm not off to a good start here, am I? :\ If you'd like to try it again, here's a direct link to a good copy: http://www.surfs

Re: [OT] SurfShopPRO Perl shopping cart system is now open source

2013-11-18 Thread Jim Gibson
On Nov 18, 2013, at 2:02 PM, SSC_perl wrote: > Hi John, > > Thanks for getting back to me with your findings. I really appreciate > it. I've gone through everything, made the changes that I could, and I have > some questions to some of your remarks. You should be responding to the lis

Re: Need explanation of expression

2013-11-18 Thread Angela Barone
> Specifically, http://perldoc.perl.org/perlop.html#Conditional-Operator > > '?:' is otherwise known as the 'ternary conditional operator' -- if > you don't know that bit of esoterica, finding the right documentation > is a lot harder. 8^) Thank you, everyone! It's a lot clearer to me n

Re: [OT] SurfShopPRO Perl shopping cart system is now open source

2013-11-18 Thread SSC_perl
Hi John, Thanks for getting back to me with your findings. I really appreciate it. I've gone through everything, made the changes that I could, and I have some questions to some of your remarks. > You are using the value from readdir() without prepending the path to the > file name.

Re: Need explanation of expression

2013-11-18 Thread Shawn H Corey
On Mon, 18 Nov 2013 12:14:05 -0800 Angela Barone wrote: > Could someone explain the format of the following line and how to > read it? > > $name = $fieldname =~ /\[(.*?)\]/ ? $main::global->{'form'}->{$1} : > $out; It means: if( $fieldname =~ /\[(.*?)\]/ ){ $name = $main::global->{'form

Re: Need explanation of expression

2013-11-18 Thread John SJ Anderson
On Mon, Nov 18, 2013 at 12:34 PM, John W. Krahn wrote: >> Also, is there something in the perl man pages about it? > > > Yes. You probably want perlop? Specifically, http://perldoc.perl.org/perlop.html#Conditional-Operator '?:' is otherwise known as the 'ternary conditional operator' -

Re: Need explanation of expression

2013-11-18 Thread John W. Krahn
Angela Barone wrote: Hello, Hello, Could someone explain the format of the following line and how to read it? $name = $fieldname =~ /\[(.*?)\]/ ? $main::global->{'form'}->{$1} : $out; Do the contents of $fieldname match the pattern /\[(.*?)\]/? If they do then assign $main::g

Need explanation of expression

2013-11-18 Thread Angela Barone
Hello, Could someone explain the format of the following line and how to read it? $name = $fieldname =~ /\[(.*?)\]/ ? $main::global->{'form'}->{$1} : $out; Also, is there something in the perl man pages about it? Thank you, Angela -- To unsubscribe, e-mail: beginners-unsubs