* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [031222 02:32]:
> Hello Everbody,
>
> I am getting the following problem when i execute
>
> Perl response1.txt
>
> Can't locate Time/HiRes.pm in @INC at line 7.
>
> line 7: use Time::HiRes
>
> I downloaded the proper module and installed it but
> still g
On Mon, Dec 22, 2003 at 01:24:37AM -0800, [EMAIL PROTECTED] wrote:
> Hello Everbody,
>
> I am getting the following problem when i execute
>
> Perl response1.txt
>
> Can't locate Time/HiRes.pm in @INC at line 7.
>
> line 7: use Time::HiRes
>
> I downloaded the proper module and installed it bu
On Thu, Dec 05, 2002 at 07:02:17PM -0700, dave mallery wrote:
> hi
>
> i have gathered in as many "libgtk-perl" modules as i can find.
>
> i need a CList for some work i am doing... can't find it. even on cpan.
>
> i would really appreciate some pointers.
solved:
it was there all the tim
> On Wed, Sep 18, 2002 at 12:11:12PM +0200, D.J. Bolderman wrote:
>> I just tried to upgrade my unstable box, and ran into the following
>> error with upgrading Debconf:
>>
>> Can't locate Text/Iconv.pm in @INC (@INC contains: /etc/perl
>
> Install libtext-iconv-perl, perhaps?
Great, this works
On Wed, Sep 18, 2002 at 12:11:12PM +0200, D.J. Bolderman wrote:
> I just tried to upgrade my unstable box, and ran into the following error
> with upgrading Debconf:
>
> Can't locate Text/Iconv.pm in @INC (@INC contains: /etc/perl
Install libtext-iconv-perl, perhaps?
--
Colin Watson
> Hi ppl,
>
> I just tried to upgrade my unstable box, and ran into the following
> error with upgrading Debconf:
>
> Can't locate Text/Iconv.pm in @INC (@INC contains: /etc/perl
> /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.8.0 /usr/sha
Thanks to all for writing.
Indeed I had forgotten to use the !usr/bin/perl at the top. I thought
I had. I guess it was trying to execute as a shell script.
Problem solved. Thanks.
Sebastian
On Mon, Sep 17, 2001 at 08:13:33PM +0200, Christian Jaeger wrote:
> On Mon, 17 Sep 2001 13:22:40 -0400 Se
It works fine for me under bash. How are you running it? I just pasted it
into a file, called it test.pl, and did perl test.pl. Worked fine with
both 5.6.1 and 5.005_03.
ap
--
Andrew J Perrin - [EMAIL PROTECTED] - http://www.unc
On Mon, 17 Sep 2001 13:22:40 -0400 Sebastian Canagaratna
<[EMAIL PROTECTED]> wrote:
> (3) gives: syntax error near unexpected token '(<*'
I haven't read the whole thread, but of course if you don't put a
#!/usr/bin/perl line at the top of your script the shell tries to
execute it itself and
Thanks Pietro for you reply. Here are some details.
The program foreach (<*>){
print "$_\n";
}
gives (1) no error with perl -c
(2) runs ok from the command line with perl -e
(3) gives: syntax error near unexpected token '(<*'
The same happens when I replace the <
>foreach (<*>){
> print "$_\n";
> }
> or <*> replaced by glob('*')
>
> do not work.
what happens exactly? any error messages? any output?
the glob function is implemented with csh, so this could be a csh
problem.
pietro.
Darren/Torin/Who Ever... writes:
> Two things:
> 1) If you want stuff on the right hand side to eval-ed (double
>substitute variables), you need to do it yourself.
>Note that with:
> $TRANSLATION = '\$1;\$2'; $str = "ab";
>both
> $str =~ s{(.)(.)}{$TRANSLATION}ee;
>
-BEGIN PGP SIGNED MESSAGE-
Yann Dirson, in an immanent manifestation of deity, wrote:
>I wrote a sample script whose behaviour seems strange to me. At least
>I can't find in the doc why it behaves so, nor what I should write to
>get the expected result.
Two things:
1) If you want stuff o
Joost Kooij writes:
> > #!/usr/bin/perl
> >
> > $TRANSLATION = '\1;$2';
> > $str = "ab";
> > $str =~ s{(.)(.)}{$TRANSLATION};
>
> [snip]
>
> Have you tried wrapping the substitution statement with an "eval"
> construct yet? I think that should make it work.
I had not, and it works.
On Thu, 30 Apr 1998, Yann Dirson wrote:
> I wrote a sample script whose behaviour seems strange to me. At least
> I can't find in the doc why it behaves so, nor what I should write to
> get the expected result.
>
> The sample script
> #!/usr/bin/perl
>
> $TRANSLATION = '\1;$2';
> $str = "a
Karl Abrams <[EMAIL PROTECTED]> writes:
> I just installed debian 1.3 from CD and then ran dselect. The packages
> perl 5.003.07-10, perl-suid 5.003.07-10 & wg15-locale 2-5 are installed.
>
> The error messages are:
> ~<17>% perl
> perl: warning: Setting locale failed for the categories:
>
Karl Abrams <[EMAIL PROTECTED]> writes:
> I am having an annoying perl problem. Whenever I run a perl script
> I get a set of error messages. Perl runs but the messages clutter the
> screen.
> I just installed debian 1.3 from CD and then ran dselect. The packages
> perl 5.003.07-10, perl
17 matches
Mail list logo