symbol lookup error: .../Parser.so: undefined symbol: Perl_Istack_sp_ptr

2011-09-21 Thread Robert P. J. Day
this happens: cd Pacemaker_Explained /usr/local/bin/publican build --publish --langs=all --formats=pdf,html,html-single,txt perl: symbol lookup error: /usr/lib/perl5/auto/HTML/Parser/Parser.so: undefined symbol: Perl_Istack_sp_ptr Makefile:617: *** [Pacemaker_Explained.txt] Error 127 obviously, publican

Re: symbol lookup error: .../Parser.so: undefined symbol: Perl_Istack_sp_ptr

2011-09-21 Thread Francisco Rivas
Pacemaker_Explained /usr/local/bin/publican build --publish --langs=all --formats=pdf,html,html-single,txt perl: symbol lookup error: /usr/lib/perl5/auto/HTML/Parser/Parser.so: undefined symbol: Perl_Istack_sp_ptr Makefile:617: *** [Pacemaker_Explained.txt] Error 127 obviously, publican is using perl parsing

Re: symbol lookup error: .../Parser.so: undefined symbol: Perl_Istack_sp_ptr

2011-09-21 Thread Robert P. J. Day
On Wed, 21 Sep 2011, Francisco Rivas wrote: Hello, I went through the same issue and what I found was just recompile the module in your case it would be HTML::Parser, what i did is CPAN - install HTML::Parser or use packer for it. I hope this can help you. ok, so just to be clear, i

Re: symbol lookup error: .../Parser.so: undefined symbol: Perl_Istack_sp_ptr

2011-09-21 Thread Robert P. J. Day
On Wed, 21 Sep 2011, Robert P. J. Day wrote: On Wed, 21 Sep 2011, Francisco Rivas wrote: Hello, I went through the same issue and what I found was just recompile the module in your case it would be HTML::Parser, what i did is CPAN - install HTML::Parser or use packer for it. I

/usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr

2011-09-21 Thread Robert P. J. Day
argh ... after just skipping the component that was causing the earlier error, i got further and then this: perl: symbol lookup error: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr error: Bad exit status from /home/rpjday/WindRiver/prj/4.3/vrf/build/perl-Convert-ASN1-0.21

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr

2011-09-21 Thread 'lesleyb'
On Wed, Sep 21, 2011 at 07:24:51AM -0400, Robert P. J. Day wrote: argh ... after just skipping the component that was causing the earlier error, i got further and then this: Probably a good idea to unskip it and fix the problem there first. perl: symbol lookup error: /usr/lib/perl5/auto

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr

2011-09-21 Thread Robert P. J. Day
. perl: symbol lookup error: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr error: Bad exit status from /home/rpjday/WindRiver/prj/4.3/vrf/build/perl-Convert-ASN1-0.21/rpm-tmp.42187 (%build) which looks like a symbol isn't in the symbol table of the shared object Cwd.so

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr

2011-09-21 Thread Paul Johnson
On Wed, Sep 21, 2011 at 08:31:10AM -0400, Robert P. J. Day wrote: On Wed, 21 Sep 2011, 'lesleyb' wrote: On Wed, Sep 21, 2011 at 07:24:51AM -0400, Robert P. J. Day wrote: perl: symbol lookup error: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr error: Bad exit

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr

2011-09-21 Thread Robert P. J. Day
. perl: symbol lookup error: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr error: Bad exit status from /home/rpjday/WindRiver/prj/4.3/vrf/build/perl-Convert-ASN1-0.21/rpm-tmp.42187 (%build) which looks like a symbol isn't in the symbol table of the shared object Cwd.so

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr

2011-09-21 Thread Robert P. J. Day
On Wed, 21 Sep 2011, Paul Johnson wrote: That symbol would be defined in libperl.so and is on my system.. It sounds very much as if this software is not playing nicely. Does it have its own version of perl, perhaps embedded? i think i may have addressed in my last post, where the build

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr

2011-09-21 Thread Paul Johnson
and then this: Probably a good idea to unskip it and fix the problem there first. perl: symbol lookup error: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr error: Bad exit status from /home/rpjday/WindRiver/prj/4.3/vrf/build/perl-Convert-ASN1-0.21/rpm-tmp.42187 (%build

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr

2011-09-21 Thread Robert P. J. Day
On Wed, 21 Sep 2011, Paul Johnson wrote: On Wed, Sep 21, 2011 at 09:17:40AM -0400, Robert P. J. Day wrote: ... snip ... but there's a possible solution. when one initially configures the project, one can select that *all* of those host tools will be rebuilt from scratch. that would

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr

2011-09-21 Thread 'lesleyb'
are. rday p.s. is there a way to identify which perl module supplies the Perl_Gthr_key_ptr symbol? perhaps it's just a dependency issue that didn't exist in 10.04 but is somehow in 11.04. already answered by another poster. Regards Lesley -- To unsubscribe, e-mail: beginners-unsubscr

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr [SOLVED?]

2011-09-21 Thread Robert P. J. Day
On Wed, 21 Sep 2011, Paul Johnson wrote: On Wed, Sep 21, 2011 at 08:31:10AM -0400, Robert P. J. Day wrote: ... snip ... p.s. is there a way to identify which perl module supplies the Perl_Gthr_key_ptr symbol? perhaps it's just a dependency issue that didn't exist in 10.04

Re: /usr/lib/perl5/auto/Cwd/Cwd.so: undefined symbol: Perl_Gthr_key_ptr [SOLVED?]

2011-09-21 Thread 'lesleyb'
On Wed, Sep 21, 2011 at 11:13:13AM -0400, Robert P. J. Day wrote: On Wed, 21 Sep 2011, Paul Johnson wrote: On Wed, Sep 21, 2011 at 08:31:10AM -0400, Robert P. J. Day wrote: ... snip ... p.s. is there a way to identify which perl module supplies the Perl_Gthr_key_ptr symbol

Re: How to convert EURO Symbol € character to Hex

2011-01-19 Thread Alan Haggai Alavi
Hi Khabza, now my problem is I cant type € symbol on my editor Textpad it return funny characters like € Textpad probably allows you to set the encoding of the file to UTF-8, I think. Set it to UTF-8 so that you will be able to type in the € symbol. use utf8; # use whenever source code

Re: How to convert EURO Symbol € character to Hex

2011-01-19 Thread Alan Haggai Alavi
of €         # ...     } The Euro symbol is attributed 0x80 in Windows-1252 encoding and not in ASCII. Euro symbol was created much later than the latest ASCII revision. which I am not sure if my code will work to all version of windows. Is there a different between using ASCII or UTF-8? UTF-8 encoding

Fwd: How to convert EURO Symbol € character to Hex

2011-01-18 Thread Khabza Mkhize
instant of BC€01 now I am trying to pattern match the string value and convert it to another value eg if ($euros eq 'BC€01'){ $euros = 'EUROS'; } now my problem is I cant type € symbol on my editor Textpad it return funny characters like € kind Khabza Green IT Web http

Re: How to convert EURO Symbol € character to Hex

2011-01-18 Thread Khabza Mkhize
am not sure if my code will work to all version of windows. Is there a different between using ASCII or UTF-8? Regards Khabza Green IT Web http://www.greenitweb.co.za Hi Khabza, now my problem is I cant type € symbol on my editor Textpad it return funny characters like € Textpad probably

how to denote the like symbol % in perl program

2010-05-04 Thread Pam Wampler
How do you add the % sign in a perl program, if you are doing an oracle query in the program? Example select date, name from my_table where name like upper(?)% The question mark would allow the user to enter the name - and I need to append the % sign so that oracle will know to do a like

Re: how to denote the like symbol % in perl program

2010-05-04 Thread Steve Bertrand
On 2010.05.04 11:21, Pam Wampler wrote: How do you add the % sign in a perl program, if you are doing an oracle query in the program? Example select date, name from my_table where name like upper(?)% The question mark would allow the user to enter the name - and I need to append

RE: how to denote the like symbol % in perl program

2010-05-04 Thread Pam Wampler
: $sqlQuery-errstr; -Original Message- From: Steve Bertrand [mailto:st...@ipv6canada.com] Sent: Tuesday, May 04, 2010 11:44 AM To: Pam Wampler Cc: beginners@perl.org Subject: Re: how to denote the like symbol % in perl program On 2010.05.04 11:21, Pam Wampler wrote: How do you add the % sign

Re: how to denote the like symbol % in perl program

2010-05-04 Thread Steve Bertrand
On 2010.05.04 12:11, Pam Wampler wrote: Here's the code -- I'm just learning perl so any help is greatly appreciated It will work if I have the user input something like pam% with the percent sign...but I really just want the user to have to enter pam and have the program append the

RE: how to denote the like symbol % in perl program

2010-05-04 Thread Pam Wampler
PM To: Pam Wampler Cc: beginners@perl.org Subject: Re: how to denote the like symbol % in perl program On 2010.05.04 12:11, Pam Wampler wrote: Here's the code -- I'm just learning perl so any help is greatly appreciated It will work if I have the user input something like pam% with the percent

Re: Not understanding deleted symbol key access

2010-04-19 Thread C.DeRykus
variables $m and $n and displays their contents as well as their keys held in the symbol table.  He then proceeds to delete the symbol table keys for said variables, yet they still somehow hold their value.  What I don't understand is how the variable continues to exist if it's entry

Re: Not understanding deleted symbol key access

2010-04-17 Thread Linux Expert
held in the symbol table. He then proceeds to delete the symbol table keys for said variables, yet they still somehow hold their value. What I don't understand is how the variable continues to exist if it's entry is removed from the symbol table. Here's a simplified example

Re: Not understanding deleted symbol key access

2010-04-16 Thread C.DeRykus
On Apr 15, 8:57 am, linuxexper...@gmail.com (Linux Expert) wrote: I'm following an example in Mastering Perl pg 130.  He demonstrates setting package variables $m and $n and displays their contents as well as their keys held in the symbol table.  He then proceeds to delete the symbol table

Not understanding deleted symbol key access

2010-04-15 Thread Linux Expert
I'm following an example in Mastering Perl pg 130. He demonstrates setting package variables $m and $n and displays their contents as well as their keys held in the symbol table. He then proceeds to delete the symbol table keys for said variables, yet they still somehow hold their value. What I

a question on the symbol

2009-12-13 Thread 小兰
Hello, my $obj; my $h; foreach $h (@{ref($hosts) ? $hosts : [$hosts]}) { $obj = $type-SUPER::new( PeerAddr = ($host = $h), PeerPort = $arg{Port} || 'smtp(25)', LocalAddr = $arg{LocalAddr}, LocalPort = $arg{LocalPort}, Proto = 'tcp', Timeout =

Re: a question on the symbol

2009-12-13 Thread Peter Scott
. Your extract of the Net::SMTP constructor shows that the module creates an object by creating a object in the parent class. This turns out to be the constructor for IO::Handle, which returns a blessed reference to an anonymous glob formed with Symbol::gensym. *Named* globs are hard enough

Use Strict, Perl 5.10 and Global Symbol requires explicit package name

2009-09-29 Thread Soham Das
. The exactly same thing, is also done in Line #b. Why does, Line a throw a compiler error, Global Symbol @dates requires explicit package name while Line b throws the same error if I do just the opposite. Change the curly to sqaures. Btw, I can't do away with use strict directive. Moreover

Re: Use Strict, Perl 5.10 and Global Symbol requires explicit package name

2009-09-29 Thread Алексеев Александр
(is that the right word, I am sorry I am still stuck in C/C++ mode), now in Line a, I have changed from square brackets to curly brackets for the hash work. The exactly same thing, is also done in Line #b. Why does, Line a throw a compiler error, Global Symbol @dates requires explicit package

Re: Use Strict, Perl 5.10 and Global Symbol requires explicit package name

2009-09-29 Thread Soham Das
Shit!! Thanks, How asinine of me. From: Алексеев Александр aleks...@rumonitor.ru To: Soham Das soham...@yahoo.co.in Cc: beginners@perl.org Sent: Tuesday, 29 September, 2009 2:52:26 PM Subject: Re: Use Strict, Perl 5.10 and Global Symbol requires explicit

Re: Manipulating the symbol table

2009-06-28 Thread Dr.Ruud
Steve Bertrand wrote: $user-{'username'} = 'steveb'; # in an app I could then replace it instead with: $user-username('steveb'); See also Class::Accessor::Faster and http://search.cpan.org/~spurkis/accessors/ -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional

Manipulating the symbol table

2009-06-27 Thread Steve Bertrand
dealing with is updating my modules with accessors, instead of my applications using the instance variables directly. In the mentioned perldoc, there are snips of code showing how to update the symbol table to reference a subroutine with the same name as each key in an object's hashref. In my case

RegEx symbol matching

2008-06-24 Thread cantunes1
Hi, I am attempting to search a bit of HTML and tag references to certain mathematical symbols. However, I am having an issue recognizing the π symbol. It seems to register as a lower case p. Is there a code that one can use inside the regular expression to get around this problem. Any help

Can't use string as a symbol ref

2007-12-17 Thread ciwei2103
string (test1.dat) as a symbol ref while strict refs in use at ./test.pl line xx. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Can't use string as a symbol ref

2007-12-17 Thread Tom Phoenix
On 12/17/07, ciwei2103 [EMAIL PROTECTED] wrote: Can somebody enlighten me what I'm doing wrong? my $input = $ARGV[0]; my @devices = $input ; $input is a string, since it comes from @ARGV; but you're using it as if it's a filehandle. Do you need open()? Hope this helps! --Tom Phoenix

Re: Can't use string as a symbol ref

2007-12-17 Thread yitzle
Maybe tell us what you are trying to do? Try this: #!/usr/bin/perl -w use strict; my $input = $ARGV[0]; # File handle my $FH; # Check the file is a normal file and exists die File does not exist\n if not -f $input; # Open the file handle for read only, file named by $input # Or die and

Re: Can't use string as a symbol ref

2007-12-17 Thread Chas. Owens
= @devices \n; __END__ now run it with sh test.pl test1.dat Can't use string (test1.dat) as a symbol ref while strict refs in use at ./test.pl line xx. In addition to using open as others have suggested, if the only arguments the script is expecting are files to process, you don't need to use

Re: undefined symbol: Perl_sv_2iv_flags

2007-10-24 Thread Prabu Ayyappan
Hi Siva, I doubt the problem is with the version of perl you are using. The symbol Perl_sv_2iv_flags may be introduced with the new version of perl Try with Perl version is: v5.8.9 - Original Message From: sivasakthi [EMAIL PROTECTED] To: beginners perl beginners@perl.org Sent

undefined symbol: Perl_sv_2iv_flags

2007-10-23 Thread sivasakthi
Hi All, I have executed the cgi files , It throws the following error in error log, symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/GD/GD.so: undefined symbol: Perl_sv_2iv_flags,referer: http://... Perl version is: v5.8.8 perl-Gd rpm is : perl-GD-2.35-1.fc5

Re: undefined symbol: Perl_sv_2iv_flags

2007-10-23 Thread Tom Phoenix
your program offline? symbol lookup error: /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/GD/GD.so: undefined symbol: Perl_sv_2iv_flags,referer: http://... Something is misconfigured or misinstalled. It seems likely that the GD module wasn't compiled using the same settings

Re: working with regexp without escaping range symbol

2007-08-06 Thread Paul Lalli
On Aug 5, 12:39 am, [EMAIL PROTECTED] (Aruna Goke) wrote: How can I work with this kind on expression without escaping the range. #!/usr/bin/perl use warnings; use strict; use DateTime; my $ystd = DateTime-today-subtract(days = 1); my $mdy = $ystd-ymd('-'); #date format in 09-25-2007

working with regexp without escaping range symbol

2007-08-04 Thread Aruna Goke
hello all, How can I work with this kind on expression without escaping the range. #!/usr/bin/perl use warnings; use strict; use DateTime; my $ystd = DateTime-today-subtract(days = 1); my $mdy = $ystd-ymd('-'); #date format in 09-25-2007 my $dty = $ystd-mdy(''); #date in format 09252007 {

[Fwd: working with regexp without escaping range symbol]

2007-08-04 Thread Aruna Goke
I made a wrong substitution in the if(/$ystd/) instead of if(/$mdy/). Thanks Goksie Original Message Subject: working with regexp without escaping range symbol Date: Sun, 05 Aug 2007 05:39:09 +0100 From: Aruna Goke [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: beginners

Re: working with regexp without escaping range symbol

2007-08-04 Thread Jeff Pang
-Original Message- From: Aruna Goke [EMAIL PROTECTED] Sent: Aug 5, 2007 12:39 PM To: beginners@perl.org Subject: working with regexp without escaping range symbol hello all, How can I work with this kind on expression without escaping the range. #!/usr/bin/perl use warnings; use

Re: Global symbol $var1 requires explicit

2007-07-13 Thread [EMAIL PROTECTED]
On Jul 8, 6:14 pm, [EMAIL PROTECTED] (Ken Foskey) wrote: # Since you are use strict you must declare all variables before using # them. The before in that statement may be missleading. 95% of the time the best place to declare variable is _when_ you first use them. my ($var1, $var2);

Re: Global symbol $var1 requires explicit

2007-07-09 Thread Dr.Ruud
kilaru rajeev schreef: I have removed the *strict.* Hahaha, what a great start of a week. I felt it coming because of the way that Ken wrote Since you are use strict. Removing use strict is like removing warning lights and safety systems and such. You will get the vehicle moving, but with a

Global symbol $var1 requires explicit

2007-07-08 Thread kilaru rajeev
Hi, Please explain me whats wrong with the following code as it is respondingwith the some errors. #!/usr/bin/perl -w use strict; $var1 = 'Hello World'; # always wanted to do that :-) $var2 = $var1\n; print $var2; exit; output: Global symbol $var1 requires explicit package name at sample.pl

Re: Global symbol $var1 requires explicit

2007-07-08 Thread Ken Foskey
. my ($var1, $var2); $var1 = 'Hello World'; # always wanted to do that :-) $var2 = $var1\n; print $var2; exit; output: Global symbol $var1 requires explicit package name at sample.pl line 3. Global symbol $var2 requires explicit package name at sample.pl line 4. Global symbol $var1

Re: Global symbol $var1 requires explicit

2007-07-08 Thread kilaru rajeev
variables before using # them. This prevents typos. my ($var1, $var2); $var1 = 'Hello World'; # always wanted to do that :-) $var2 = $var1\n; print $var2; exit; output: Global symbol $var1 requires explicit package name at sample.pl line 3. Global symbol $var2 requires explicit package name

Re: Global symbol $var1 requires explicit

2007-07-08 Thread Martin Barth
it is varl - L and var1 - 1, isn't it? looks like a typo. HTH On Sun, 8 Jul 2007 20:38:43 +0200 xavier mas [EMAIL PROTECTED] wrote: Name main::varl used only once: possible typo at sample.pl line 3. Name main::var1 used only once: possible typo at sample.pl line 2. -- To unsubscribe,

Re: Global symbol $var1 requires explicit

2007-07-08 Thread Paul Lalli
On Jul 8, 1:25 pm, [EMAIL PROTECTED] (Kilaru Rajeev) wrote: On 7/8/07, Ken Foskey [EMAIL PROTECTED] wrote: On Sun, 2007-07-08 at 22:27 +0530, kilaru rajeev wrote: Please explain me whats wrong with the following code as it is respondingwith the some errors. #!/usr/bin/perl -w use

Re: Global symbol $var1 requires explicit

2007-07-08 Thread Ken Foskey
On Sun, 2007-07-08 at 15:43 -0700, Paul Lalli wrote: On Jul 8, 1:25 pm, [EMAIL PROTECTED] (Kilaru Rajeev) wrote: On 7/8/07, Ken Foskey [EMAIL PROTECTED] wrote: On Sun, 2007-07-08 at 22:27 +0530, kilaru rajeev wrote: Please explain me whats wrong with the following code as it is

how to create symbol table of an assembler

2006-08-18 Thread payal sinha
hi all i have to write a code to generate a single pass assembler. apart from the basic idea of assemblers , i cant proceed any further. moreover , i would like to know , how to create symbol table , programming language here is c/c++. platform is fedora core 4 kindly reply thanx

Re: how to create symbol table of an assembler

2006-08-18 Thread Owen Cook
Ask a c/c++ mailing list? -- Owen On Sat, 19 Aug 2006, payal sinha wrote: hi all i have to write a code to generate a single pass assembler. apart from the basic idea of assemblers , i cant proceed any further. moreover , i would like to know , how to create symbol table , programming

The @ symbol

2006-01-13 Thread Gerald Wheeler
trying to include the following code with the abc.pl script... the snippet works in an html/css environment print EOF; style type=text/css media=all @import url(theta.css); @media print { body {background: white; color: black; font: 12pt

Re: The @ symbol

2006-01-13 Thread Adriano Ferreira
A here document (like the one you wrote in your script between EOF; and \nEOF\n) also does interpolation, which means things like $foo and @import will try the interpolation of $foo and @import variables. If you don't want interpolation, just use print 'EOF'; instead of print EOF; It is in

Re: The @ symbol

2006-01-13 Thread Adriano Ferreira
On 1/13/06, Adriano Ferreira [EMAIL PROTECTED] wrote: It is in core documentation somewhere, even though I could not locate it right now. Here it is: try Cperldoc perlop in the section Regexp Quote-Like Operators, search for the item EOF and everything is explained there. -- To unsubscribe,

Re: The @ symbol

2006-01-13 Thread Tom Phoenix
On 1/13/06, Gerald Wheeler [EMAIL PROTECTED] wrote: The @ symbols are misread and thus this cause errors... escaping the @ symbols doesn't work It should work if you escape them correctly, which is to say with a preceding backslash. How did you escape them that didn't work? print EOF; This

Re: The @ symbol

2006-01-13 Thread Chris Devers
On Fri, 13 Jan 2006, Gerald Wheeler wrote: trying to include the following code with the abc.pl script... the snippet works in an html/css environment print EOF; style type=text/css media=all @import url(theta.css); @media print { body

RE: The @ symbol

2006-01-13 Thread Timothy Johnson
there EOC print foo, bar; # you can stack them I said foo. foo I said bar. bar -Original Message- From: Gerald Wheeler [mailto:[EMAIL PROTECTED] Sent: Friday, January 13, 2006 8:28 AM To: beginners@perl.org Subject: The @ symbol trying to include

square symbol at end of each line

2005-05-18 Thread perlocean
Hi, I have perl/tk application, where it fetches the data over the internet and displays it in a ROText widget. Everything works but in the output there is a square *like* symbol printed at the end of each line too. I can not copy and paste the symbol either. I donot understand if it is a perl

Re: square symbol at end of each line

2005-05-18 Thread mgoland
- Original Message - From: [EMAIL PROTECTED] Date: Wednesday, May 18, 2005 2:05 pm Subject: square symbol at end of each line Hi, Hello I have perl/tk application, where it fetches the data over the internet and displays it in a ROText widget. Everything works but in the output

RE: square symbol at end of each line

2005-05-18 Thread brian . barto
The square symbol likely represents a carriage return. Windows and Unix do not like each other's carriage returns and sometimes when you cross information from one platform to another you get this funny square. You can get rid if it by: s/\015//; or substitute it with a newline character s/\015

Re: square symbol at end of each line

2005-05-18 Thread perlocean
- Original Message - From: [EMAIL PROTECTED] To: beginners@perl.org Sent: Wednesday, May 18, 2005 1:17 PM Subject: RE: square symbol at end of each line The square symbol likely represents a carriage return. Windows and Unix do not like each other's carriage returns and sometimes when

Re: square symbol at end of each line

2005-05-18 Thread perlocean
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: beginners@perl.org Sent: Wednesday, May 18, 2005 1:13 PM Subject: Re: square symbol at end of each line - Original Message - From: [EMAIL PROTECTED] Date: Wednesday, May 18, 2005 2:05 pm Subject: square

Perl error -- Global symbol requires...

2005-02-25 Thread Bret Goodfellow
I'm getting the following error in my code. If I define $i as my $i then everything works fine. What's wrong? # while1.pl use strict ; use warnings ; $i = 1; while ($i 10) { print I am at $i\n; i++; } # while1.pl Global symbol $i requires explicit package name at C:\BegPerl\while1

Re: Perl error -- Global symbol requires...

2005-02-25 Thread John W. Krahn
at $i\n; i++; } # while1.pl Global symbol $i requires explicit package name at C:\BegPerl\while1.pl line 6 http://perl.plover.com/FAQs/Namespaces.html John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http

Re: Perl error -- Global symbol requires...

2005-02-25 Thread Owen
On Fri, 25 Feb 2005 15:55:21 -0700 Bret Goodfellow [EMAIL PROTECTED] wrote: # while1.pl use strict ; use warnings ; $i = 1; while ($i 10) { print I am at $i\n; i++; } # while1.pl Global symbol $i requires explicit package name at Try removing the 'use strict

Re: Perl error -- Global symbol requires...

2005-02-25 Thread Xiaofang Zhou
I'm getting the following error in my code. If I define $i as my $i then everything works fine. What's wrong? # while1.pl use strict ; use warnings ; $i = 1; while ($i 10) { print I am at $i\n; i++; } # while1.pl Global symbol $i requires explicit package name at C:\BegPerl\while1.pl

Re: Perl error -- Global symbol requires...

2005-02-25 Thread John W. Krahn
Owen wrote: On Fri, 25 Feb 2005 15:55:21 -0700 Bret Goodfellow [EMAIL PROTECTED] wrote: # while1.pl use strict ; use warnings ; $i = 1; while ($i 10) { print I am at $i\n; i++; } # while1.pl Global symbol $i requires explicit package name at Try removing the 'use strict;' statement. See what

Re: Perl error -- Global symbol requires...

2005-02-25 Thread JupiterHost.Net
Owen wrote: On Fri, 25 Feb 2005 15:55:21 -0700 Bret Goodfellow [EMAIL PROTECTED] wrote: # while1.pl use strict ; use warnings ; $i = 1; while ($i 10) { print I am at $i\n; i++; } # while1.pl Global symbol $i requires explicit package name at Try removing the 'use strict;' statement. See what

Undefined symbol boot_DynaLoader, boot_Socket

2004-09-23 Thread Paul Boyce
: -- Undefined first referenced symbol in file boot_DynaLoader /var/tmp//ccbgVfzA.o boot_Socket /var/tmp//ccbgVfzA.o ld: fatal: Symbol referencing errors. No output written to temp collect2: ld

Re: Undefined symbol?

2004-01-26 Thread david
/lib/perl5/auto/Locale/gettext/gettext.so: undefined symbol: Perl_Gthr_key_ptr do you have different version of Perl installed on your machine? if so, you are likely to have a mismatch building and using the module. david -- sub'_{print@_ ;* \ = * __ ,\ \} sub'__{print

Undefined symbol?

2004-01-23 Thread Mark Setzer
/gettext/gettext.so: undefined symbol: Perl_Gthr_key_ptr Didn't know what to make of it or how to fix it. Thoughts? -Mark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

RE: symbol Perl_get_sv

2003-11-26 Thread NYIMI Jose (BMB)
prints warnings for any unresolved symbol references --More--(13%) \my_paste HTH, José. -Original Message- From: Ying Liu [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 5:16 AM To: drieux Cc: begin begin Subject: Re: symbol Perl_get_sv Thanks! I am working

RE: symbol Perl_get_sv

2003-11-26 Thread Ying Liu
it uses. With each of the following options, ldd prints warnings for any unresolved symbol references --More--(13%) \my_paste HTH, José. -Original Message- From: Ying Liu [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 5:16 AM To: drieux Cc: begin begin

RE: symbol Perl_get_sv

2003-11-26 Thread NYIMI Jose (BMB)
Makefile.pl José. -Original Message- From: Ying Liu [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 4:08 PM To: NYIMI Jose (BMB) Cc: Ying Liu; drieux; begin begin; [EMAIL PROTECTED] Subject: RE: symbol Perl_get_sv Jose, After I ran, it shows me: %ldd /mz/hd/liuyi/local/lib

Re: symbol Perl_get_sv

2003-11-26 Thread drieux
On Wednesday, Nov 26, 2003, at 08:05 US/Pacific, NYIMI Jose (BMB) wrote: [..] Anyway, i noticed something that bother me in your post: That is version of your perl on your machine: 5.8.0 and 5.00503 [..] A part of the issue seems to be that minor glitch, In one of the updates Sun came out with a

RE: symbol Perl_get_sv

2003-11-26 Thread Ying Liu
Thanks! I see the conflict here: When for instance, you type %perl -v This is perl, version 5.005_03 built for sun4-solaris %which perl /bin/perl /usr/local/bin/perl -v This is perl, v5.8.0 built for sun4-solaris Now, I see where the problem is. Thanks, Ying -- To unsubscribe,

Re: symbol Perl_get_sv

2003-11-26 Thread drieux
On Wednesday, Nov 26, 2003, at 08:46 US/Pacific, Ying Liu wrote: [..] /usr/local/bin/perl -v This is perl, v5.8.0 built for sun4-solaris Now, I see where the problem is. Thanks, Ying Stylish! It appears that you have a multi-perl environment. This will allow you to work in both the 5.8 world and

Re: symbol Perl_get_sv

2003-11-26 Thread Ying Liu
Stylish! It appears that you have a multi-perl environment. This will allow you to work in both the 5.8 world and the 5.5 world - although I would still recommend that you chat with your SysAdmin about upgrading the /usr/perl5/bin/perl to the 5.6.1 version. ciao drieux Thanks! Fran

symbol Perl_get_sv

2003-11-25 Thread Ying Liu
Happy Thanksgiving all! Just installed the Tk package. I got an error: ld.so.1: /bin/perl: fatal: relocation error: file /mz/hd/liuyi/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Tk/Event/Event.so : symbol Perl_get_sv: referenced symbol not found Killed Anyone can tell me what's

Re: symbol Perl_get_sv

2003-11-25 Thread drieux
On Tuesday, Nov 25, 2003, at 16:18 US/Pacific, Ying Liu wrote: [..] Just installed the Tk package. I got an error: ld.so.1: /bin/perl: fatal: relocation error: file /mz/hd/liuyi/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Tk/ Event/Event.so : symbol Perl_get_sv: referenced symbol not found

Re: symbol Perl_get_sv

2003-11-25 Thread R. Joseph Newton
drieux wrote: OS. so given your path, we are to assume then that you built(???) and/or downloaded for solaris? And that you are running this on a Solaris machine??? If on the other hand your version of perl was not built with Dynamic Linking, that part where you are S Toast, you need

Re: symbol Perl_get_sv

2003-11-25 Thread drieux
On Tuesday, Nov 25, 2003, at 19:38 US/Pacific, R. Joseph Newton wrote: [..] d. Load Windows as the OS, install ActivePerl, and start working on Perl instead of futzing with the underlying system. Joseph are you going somewhere with this? Or is the problem that you do not understand how dynamic

Re: symbol Perl_get_sv

2003-11-25 Thread Ying Liu
Thanks! I am working on this, lots of new things (include what's meaning of 'You Are So Toast'). Actually, I follow the direction by 'perl -V', I got: Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.00503/sun4-solaris/CORE' cccdlflags='-KPIC',

Re: Why Global symbol require explicit package name

2003-06-28 Thread Kevin Pfeiffer
In article [EMAIL PROTECTED], John W. Krahn wrote: [...] Perhaps this article may help you understand. http://perl.plover.com/FAQs/Namespaces.html I've read this before (but it pays to reread it) and this time I also read the Seven Useful Uses of local. One thing MJD demonstrates is a clever

Re: Why Global symbol require explicit package name

2003-06-28 Thread Paul Johnson
On Sat, Jun 28, 2003 at 03:51:49PM +0200, Kevin Pfeiffer wrote: In article [EMAIL PROTECTED], John W. Krahn wrote: [...] Perhaps this article may help you understand. http://perl.plover.com/FAQs/Namespaces.html I've read this before (but it pays to reread it) and this time I also read

Why Global symbol require explicit package name

2003-06-27 Thread Babale Fongo
Hello guy! I would like to know why I need to declare global variables with my. My script looks something like thing: Use strict; $strg = A string; $strg2 = a second string; I get a warning: Global symbol require explicit package name. unless I declare the variables like: my $strg = A string

Re: Why Global symbol require explicit package name

2003-06-27 Thread George Schlossnagle
string; I get a warning: Global symbol require explicit package name. unless I declare the variables like: my $strg = A string; my $strg2 = a second string; Thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- George Schlossnagle -- Principal

Re: Why Global symbol require explicit package name

2003-06-27 Thread John W. Krahn
strict; $strg = A string; $strg2 = a second string; I get a warning: Global symbol require explicit package name. The warning is telling you to add the package name to the variable which in this case is probably main. use strict; $main::strg = 'A string'; $main::strg2 = 'a second string

Re: [CGI ERR] Global symbol requires explicit package name ...

2002-10-18 Thread fliptop
On Wed, 16 Oct 2002 at 19:33, Colby opined: [snip] C:Global symbol requires explicit package name at ./myscript.cgi line C:60, 70, 90, 108 [snip] C:I've gone over the code with a fine-tooth comb as it were, checked for C:the usual (missing semi-colons, right parenthesis/curly braces, etc C

[CGI ERR] Global symbol requires explicit package name ...

2002-10-18 Thread Colby
'.') However, the web host that I've just signed up with (running RH Linux with Apache 1.3.? and Perl 5.6.1) won't execute my script and returns the following errors when run from the command line: _ Global symbol requires explicit package name at ./myscript.cgi line

copywrite symbol

2002-10-18 Thread Johnstone, Colin
Hi all, How do I print out the copywrite symbol to a text file please. Colin Johnstone Website Project Officer Corporate Website Unit Public Affairs Directorate NSW Department of Education and Training AUSTRALIA ph 9561 8643 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: copywrite symbol

2002-10-18 Thread Toby Stuart
not sure you can in ascii a couple of brackets will do the trick (c) in HTML you can use copy; -Original Message- From: Johnstone, Colin [mailto:Colin.Johnstone;det.nsw.edu.au] Sent: Friday, October 18, 2002 12:32 PM To: '[EMAIL PROTECTED]' Subject: copywrite symbol

Re: copywrite symbol

2002-10-18 Thread Paul Johnson
systems are similar they are not identical, but then you knew that already ... -Original Message- From: Johnstone, Colin [mailto:Colin.Johnstone;det.nsw.edu.au] How do I print out the copywrite symbol to a text file please. Since this is a Perl group: perl -e 'print chr 169

Re: copywrite symbol

2002-10-18 Thread zentara
On Fri, 18 Oct 2002 12:32:29 +1000, [EMAIL PROTECTED] (Colin Johnstone) wrote: Hi all, How do I print out the copywrite symbol to a text file please. print char(169); -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >