Re: encoding problem?

2007-09-28 Thread braedsjaa
Thanks, that sounds hopeful... at least it does something, though still not right! After reading perldoc Encode::Supported I think maybe I threw myself in at the deep end. (MacRoman is the encoding I _think_ I mean). I am off on another track for now and will return to Perl another day. -- To

Re: cpan command line

2007-09-28 Thread Bobby
On Friday 28 September 2007 06:01:31 Srinivas wrote: just hit Enter -srini Bobby wrote: Hi, What is the command to tell cpan to accept the default/suggested values? No. Command line option so you don't have to be there and press Enter. -- Bobby -- To unsubscribe, e-mail: [EMAIL

Re: Displaying a Link on A Web PAge with image/png header.

2007-09-28 Thread jeevs
Thanks all for the replies... Mathew I will look into the suggestion Rob the data is also dynamically generated before i call the subroutine which displays the graph. Dr.Rudd your suggestion works well but I dont want to make another script for graph generation. My web page handles all

Re: Installing perl-5.8.8

2007-09-28 Thread Peter Scott
On Thu, 27 Sep 2007 14:32:06 -0500, CyberDESI wrote: cc -L/usr/local/lib -o miniperl \ miniperlmain.o opmini.o libperl.a -lnsl -ldl -lm -lcrypt -lutil -lc ./miniperl -w -Ilib -MExporter -e '?' || make minitest Can't locate Exporter.pm in @INC (@INC contains: lib You seem to have an

Re: cpan command line

2007-09-28 Thread Srinivas
just hit Enter -srini Bobby wrote: Hi, What is the command to tell cpan to accept the default/suggested values? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: cpan command line

2007-09-28 Thread Paul Lalli
On Sep 28, 9:26 am, [EMAIL PROTECTED] (Bobby) wrote: On Friday 28 September 2007 06:01:31 Srinivas wrote: just hit Enter -srini Bobby wrote: Hi, What is the command to tell cpan to accept the default/suggested values? No. Command line option so you don't have to be there and

Re: Open File - Read Only

2007-09-28 Thread Paul Lalli
On Sep 27, 8:49 pm, [EMAIL PROTECTED] wrote: I appreciate the response to the last question. I have scripts that I have opened files and they work. However, I am failing on opens now because the file is read only. What is the way to open a file read only. If you are trying to open the

Re: cpan command line

2007-09-28 Thread Bobby
On Friday 28 September 2007 12:26:08 Paul Lalli wrote: On Sep 28, 9:26 am, [EMAIL PROTECTED] (Bobby) wrote: On Friday 28 September 2007 06:01:31 Srinivas wrote: just hit Enter -srini Bobby wrote: Hi, What is the command to tell cpan to accept the default/suggested

Re: cpan command line

2007-09-28 Thread Paul Lalli
On Sep 28, 12:32 pm, [EMAIL PROTECTED] (Bobby) wrote: On Friday 28 September 2007 12:26:08 Paul Lalli wrote: [EMAIL PROTECTED] (Bobby) wrote: What is the command to tell cpan to accept the default/suggested values? When you run the cpan set up command, it will ask you if you're

strict behavior with .pm

2007-09-28 Thread Jeremy Kister
Given the below code, is there something that will warn/prevent me from declaring $variable when i really meant @variable ? I usually use perl -wTc scriptname to check for silliness, but i've realized code in the below fashion won't be reported. This got me very confused under mod_perl,

Re: strict behavior with .pm

2007-09-28 Thread Chas. Owens
On 9/28/07, Jeremy Kister [EMAIL PROTECTED] wrote: Given the below code, is there something that will warn/prevent me from declaring $variable when i really meant @variable ? snip package My::Example; sub new { return bless({}, shift); } sub go { my $variable; push

Re: strict behavior with .pm

2007-09-28 Thread Tom Phoenix
On 9/28/07, Chas. Owens [EMAIL PROTECTED] wrote: The strict pragma is lexically scoped, so you need to use it again after the package statement. It is probably a good idea to turn on warnings as well. To be sure, I don't think that's an accurate description of the effects of lexical scoping.

Re: Bundle::CPAN install error

2007-09-28 Thread Tom Phoenix
On 9/27/07, Bobby [EMAIL PROTECTED] wrote: for my $m (@m) { local $^W = 0; eval require $m; ok($m-VERSION = 1.76, sprintf Found version 1.76 for %20s: %s, $m, $m-VERSION); } Somewhere in this loop is where I suspect it's getting stuck. But the code's author has turned off warnings