473,791 Members | 3,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pearl expert..anyone?

I have following not working it report that I have
Can't find string terminator "STR" anywhere before EOF at init.pl line 50.
Compilation failed in require at /s101/home4/sgiwedding/cgi/form.pl line 9.

I can not find how to fix this as I really don't know anything about pearl
and need to get this form working .
Terminator STR is there so why it is complaining?

Can you please help?

Thanks

------------------
sub estab {
############### #####
### ?????? ###
############### #####
# (1)sendmail???? ???????????

$SENDMAIL = '/usr/sbin/sendmail';
# (2)???????????( 1.??/0.????)

$CONFIRM_FLAG = 0;
# (3)???????????? ?????(URL????)? ??????

# $CONFIRM_TMPL = 'check_mail.htm l';
# (4)???????????? ????????

$REQUIRED =
qq(church!!!nam e1!!!name2!!!na me3!!!name4!!!n ame5!!!name6!!! name7!!!
name8!!!_email! !!tel!!!);
# (5)???????/??????????????? ??
# ?????????????,? ??????????????

$SENDTO = 'i***@sgiweddin g.com';
$SENDFROM = 'i***@sgiweddin g.com';
# (6)???????????? ???????(??)???? ??????

$SUBJECT = '????????????';
# (7)??????????HT ML?URL

$THANKS = 'http://www.sgiwedding. com/send.html';
# (8)??????????

chomp($FORMAT = <<'STR');
*************** *************** ****
????????????
*************** *************** ****

##name1##? ??????????????? ???????????
??????????????? ???
??????????????? ?????????

---- ???? ----

?????? : ##church##
????? : 200##h_year## ? ##h_month## ? ##h_day## ? ##jikan##

???? : ##name1## ##name2##
: ##name3## ##name4##
???? : 19##m_year## ? ##m_month## ? ##m_day## ?

???? : ##name5## ##name6##
: ##name7## ##name8##
???? : 19##f_year## ? ##f_month## ? ##f_day## ?

??? : ##whoinfo##
????? : ##zip1## - ##zip2##
? ? : ##address##
???? : ##tel##
???? : ##tes2##
E-mail : ##_email##

?????????? :
##question##
? sunshine-wedding.com ??????????
mailto: in**@sgiwedding .com
STR} 1;
---------------------------------------
Jul 17 '05 #1
16 2168
On 2004-06-28, M.E. <so*******@down under.com.au> wrote:
I have following not working it report that I have
Can't find string terminator "STR" anywhere before EOF at init.pl line 50.
Compilation failed in require at /s101/home4/sgiwedding/cgi/form.pl line 9.

I can not find how to fix this as I really don't know anything about pearl
and need to get this form working .
Terminator STR is there so why it is complaining? Can you please help? chomp($FORMAT = <<'STR'); [..] STR} 1;


"STR" is NOT there.
"STR} 1;" is there, but that's not the same.

What is that "} 1;" supposed to do?

Either remove it or do a chomp($FORMAT = <<'STR} 1;'); above.

--
Marco Dieckhoff
icq# 22243433
GPG Key 0x1A6C95BA -- http://www.frankonia-brunonia.de/keys
Jul 17 '05 #2
Thanks Marco, I am not sure what it was but it was in the original script
sent to me.

I am still getting
-----------
?????????r????? ???????>??/font>
a.. ??????????????? ????????????@?? ?????: Can't find string
terminator "STR" anywhere before EOF at init.pl line 50. Compilation failed
in require at /s101/home4/sgiwedding/cgi/form.pl line 9.

-------------------------------------------------------------------------

"Marco Dieckhoff" <di***@gmx.de > wrote in message
news:tl******** ****@hamlet.frb r.etc.tu-bs.de...
On 2004-06-28, M.E. <so*******@down under.com.au> wrote:
I have following not working it report that I have
Can't find string terminator "STR" anywhere before EOF at init.pl line 50. Compilation failed in require at /s101/home4/sgiwedding/cgi/form.pl line 9.
I can not find how to fix this as I really don't know anything about pearl and need to get this form working .
Terminator STR is there so why it is complaining?

Can you please help?

chomp($FORMAT = <<'STR');

[..]
STR} 1;


"STR" is NOT there.
"STR} 1;" is there, but that's not the same.

What is that "} 1;" supposed to do?

Either remove it or do a chomp($FORMAT = <<'STR} 1;'); above.

--
Marco Dieckhoff
icq# 22243433
GPG Key 0x1A6C95BA -- http://www.frankonia-brunonia.de/keys

Jul 17 '05 #3
[top-post fixed]

"M.E." <so*******@down under.com.au> wrote in message
news:cb******** **@otis.netspac e.net.au...
"Marco Dieckhoff" <di***@gmx.de > wrote in message
news:tl******** ****@hamlet.frb r.etc.tu-bs.de...
On 2004-06-28, M.E. <so*******@down under.com.au> wrote:
I have following not working it report that I have
Can't find string terminator "STR" anywhere before EOF at init.pl line 50. Compilation failed in require at /s101/home4/sgiwedding/cgi/form.pl
line
9.
I can not find how to fix this as I really don't know anything about pearl and need to get this form working .
Terminator STR is there so why it is complaining?
Can you please help?

chomp($FORMAT = <<'STR');

[..]
STR} 1;


"STR" is NOT there.
"STR} 1;" is there, but that's not the same.

What is that "} 1;" supposed to do?

Either remove it or do a chomp($FORMAT = <<'STR} 1;'); above.

--
Marco Dieckhoff
icq# 22243433
GPG Key 0x1A6C95BA -- http://www.frankonia-brunonia.de/keys

Thanks Marco, I am not sure what it was but it was in the original script
sent to me.

I am still getting
-----------
?????????r????? ???????>??/font>
a.. ??????????????? ????????????@?? ?????: Can't find string
terminator "STR" anywhere before EOF at init.pl line 50. Compilation

failed in require at /s101/home4/sgiwedding/cgi/form.pl line 9.

-------------------------------------------------------------------------

The line with the STR on it is a heredoc terminator, but it also had the
function's terminating brace on. Change
"STR } 1;"
to
"STR
} 1;"
and put the chomp statement back to how it was. I don't think the "1;" is
necessary.

Oh, and it's spelled "Perl". And this froup is for PHP. You got lucky.

Garp
Jul 17 '05 #4
M.E. wrote:
I have following not working it report that I have
Can't find string terminator "STR" anywhere before EOF at init.pl line 50.
Compilation failed in require at /s101/home4/sgiwedding/cgi/form.pl line
9.


it's "Perl"

count yourself lucky you didnt post on a perl newsgroup!
Jul 17 '05 #5
On Mon, 28 Jun 2004 14:52:41 +1000, "M.E." <so*******@down under.com.au> wrote:
I really don't know anything about pearl


"A pearl is a hard, rounded object produced by certain mollusks, primarily
oysters, and which is cultivated or harvested for jewelry."

http://en.wikipedia.org/wiki/Pearl

Pearls are not typically useful for programming, although I suppose you could
put them on rails and form an abacus or some sort of finite-tape-length Turing
machine.

--
Andy Hassall <an**@andyh.co. uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
Jul 17 '05 #6
ouch.

Be some force with you.

"obi wan kenobi" <sm***********@ whitehouse.gov> wrote in message
news:40******** *************** @news.easynet.c o.uk...
M.E. wrote:
I have following not working it report that I have
Can't find string terminator "STR" anywhere before EOF at init.pl line 50. Compilation failed in require at /s101/home4/sgiwedding/cgi/form.pl line
9.


it's "Perl"

count yourself lucky you didnt post on a perl newsgroup!

Jul 17 '05 #7
OK you buggers, Come on down. Lets have it . I can take it.

Now I feel like I should have Pearls rather then Perl

but how about my problem huh?
"Andy Hassall" <an**@andyh.co. uk> wrote in message
news:dg******** *************** *********@4ax.c om...
On Mon, 28 Jun 2004 14:52:41 +1000, "M.E." <so*******@down under.com.au> wrote:
I really don't know anything about pearl
"A pearl is a hard, rounded object produced by certain mollusks,

primarily oysters, and which is cultivated or harvested for jewelry."

http://en.wikipedia.org/wiki/Pearl

Pearls are not typically useful for programming, although I suppose you could put them on rails and form an abacus or some sort of finite-tape-length Turing machine.

--
Andy Hassall <an**@andyh.co. uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space

Jul 17 '05 #8
M.E. wrote:
but how about my problem huh?


If you want an answer go to a Perl group... this is a PHP group. And despite
that you did still get two people try to help you.

--
Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/
Jul 17 '05 #9
[top-post fixed]

"M.E." <so*******@down under.com.au> wrote in message
news:cb******** ***@otis.netspa ce.net.au...
"Andy Hassall" <an**@andyh.co. uk> wrote in message
news:dg******** *************** *********@4ax.c om...
On Mon, 28 Jun 2004 14:52:41 +1000, "M.E." <so*******@down under.com.au>

wrote:
I really don't know anything about pearl


"A pearl is a hard, rounded object produced by certain mollusks,

primarily
oysters, and which is cultivated or harvested for jewelry."

http://en.wikipedia.org/wiki/Pearl

Pearls are not typically useful for programming, although I suppose you

could
put them on rails and form an abacus or some sort of finite-tape-length

Turing
machine.

--
Andy Hassall <an**@andyh.co. uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space

OK you buggers, Come on down. Lets have it . I can take it.

Now I feel like I should have Pearls rather then Perl

but how about my problem huh?


I already fixed it. Either tell me why my fix doesn't work, or say "thank
you".

Garp
Jul 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
1505
by: Don Vaillancourt | last post by:
I do a lot of hiring for my company and a lot of the people I interview say that they are experts at SQL queries, but when I give them something simple just beyond the typical SELECT type of queries, they choke. For example I have a table that looks like this: PK_ID - primary key PARENT_ID - a FK to another row in the same table This essentially is a tree structure. I will ask interviewees to write
4
1739
by: Tony Houghton | last post by:
Can anyone recommend a good book for intermediate up to expert level? I'm an experienced C programmer and I learnt Python from the "Learning Python" O'Reilly book because it had good reviews. I was disappointed though. It was difficult to read because it was so verbose. It would sometimes take more than a page to explain something where all the information I needed could have been conveyed in one sentence. If anyone's seen Leendert...
2
1846
by: Don | last post by:
Does anyone know of any web resources pertaining to designing/programming expert systems in VB or VB.Net? Any (Good <g>) suggestions appreciated, Don in Redmond
4
2161
by: jesper_lofgren | last post by:
Hi there, I have some webcontrols that i want to add dynamically on a page. I have stored the path / namespace in database (ex MyNameSpace.WebControls.Control1) to the class/webcontrol. Lets say i have a column in database that looks like this. PageID (int) Webcontrol (varchar) 1 MyNameSpace.WebControls.Control1
1
989
theblackmist
by: theblackmist | last post by:
Hello. I am sorry if this is not the place for this topic. I am currently trying to assemble a team of programmers that know dhtml, pearl, and a server side script (maybe php). I know very little programming myself but plan to start learning programming this fall when I start taking classes at a University. I have found one person but he doesn't have much time to spend on programming (and its not fair to put the job on any single person).
11
1945
by: Neo Morpheous | last post by:
Ok, first lets start with some definitions: By "Expert", I mean someone who : 1). Is familiar with and understands the *MAJOR* concepts/philosopies underlying C# (and possible .Net as a whole - over and above CLI, CTS etc) 2). Knows which libraries to use for common and maybe not so common tasks 3). Can convincingly pass a C# technical interview (without having
6
1814
by: rich murphy | last post by:
Could anyone point me to a good site for pearl compiler download.
5
1410
by: kushagra tiwari | last post by:
Hi Friends I need to make a project in PEARL for my semester course. Kindly tell me any good PEARL topic to make a project on . I am a student of New York University. Kindly help. Thanks Regards
0
9517
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10428
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10207
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10156
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9030
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5435
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5559
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4110
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.