Perl and bash are different scripting languages. They both have their strong points, and both have their weaknesses. (Sent from iPhone, so please accept my apologies in advance for any spelling or grammatical errors.)On May 3, 2023, at 12:06 AM, Claude Brown via beginners wrote:
> Can d
TOMTOWTDI
(Sent from iPhone, so please accept my apologies in advance for any spelling or
grammatical errors.)
> On Jan 2, 2022, at 9:29 PM, hput via beginners wrote:
>
> I was just coding in in ksh93 for simple script but tangled up with
> way matching and regex work in ksh93.
>
> Finally
Because you’re using windows.
(Sent from iPhone, so please accept my apologies in advance for any spelling or
grammatical errors.)
> On Nov 28, 2020, at 12:06 PM, stefano cerbioni wrote:
>
>
> hi guys anybody know why and how to resolve this issue ?
>
> C:\Users\stefano\Desktop\GuiAmu
Lazy.
(Sent from iPhone, so please accept my apologies in advance for any spelling or
grammatical errors.)
> On Apr 15, 2019, at 12:49 PM, Andy Bach wrote:
>
> > unsubscribe
>
> To unsub (or change your settings) you need to send a msg to the listserv
> admin address, not the list itself.
One.
On Tue, Dec 15, 2015 at 2:59 AM, Jitendra Barik wrote:
> Hi All,
>
> Please let me know difference between Perl 5 and Perl 6?
>
> --
> Regards,
> Jitendra
>
--
-
Hal Wigoda
Chicago
"Versions:\n=\n",
> "perl: $]\n",
> "CGI: $CGI::VERSION\n"
> );
>
> my $q = CGI::Vars();
> print "\nCGI Values:\n=\n";
> foreach my $k ( sort keys %$q ) {
> print "$k [$q
> print pi * 2;
> print "\n";
>
> How do I get the new line on the same line of code?
>
> I could do my $my_pi_times_two = pi * 2;
> print "$my_pi_times_two\n";
>
> but that seems to be overkill.
>
> Thanks;
>
> Sherman
>
>
>
--
What error?
(Sent from iPhone, so please accept my apologies in advance for any spelling or
grammatical errors.)
> On Feb 1, 2014, at 2:40 AM, Omega -1911 <1911...@gmail.com> wrote:
>
> Hello List: I am trying to go through a folder of php scripts to add a
> database prefix to lines that have
Is the directory you are moving to writable?
Sent from my iPad
> On Jan 29, 2014, at 4:10 PM, "Martin G. McCormick"
> wrote:
>
>I have a perl script that I run as root which needs to
> move a file from where it is to another directory.
>
>I keep getting the "Usage" help message and a
4,495,496
>
> there are two ranges in there: 349-396, 425-496
>
> any hints as to how to write a perl code to represent the series of numbers
> as a range?
>
> thank you.
> Rajeev
--
-
Hal Wigoda
Chicago
--
To unsubscribe, e-mail: beginners-unsubscr...@pe
april
> address:123 street
> end
> start
> name:babit
> dob:13 april
> address:3 street
> end
> start
> name:ganesh
> dob:1 april
> address:23 street
> end
>
>
> --
> Don't stop where the ink does.
> Shawn
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>
--
-
Chicago
Hal Wigoda
Any version of Sun Solaris should already come with the current Perl.
On Mon, Mar 18, 2013 at 2:08 PM, rjc wrote:
> On Mon, Mar 18, 2013 at 06:59:48PM GMT, Hal Wigoda wrote:
>> It should come with Perl.
>
> Hi Hal,
>
> I don't think I'm following. What sho
http://learn.perl.org/
> [3] http://learn.perl.org/faq/
>
> Best regards,
>
> Raf
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
--
-
Chi
h...@perl.org
>> http://learn.perl.org/
>>
>>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
--
-
Chicago
Hal Wigoda
--
To un
responsible for reading and executing your
> .profile.
>
>
>
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
--
-
Chicago
Hal Wigoda
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
> --
>> A.Bhanuchaitanya
>>
>>
>>
>> --
>> To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional
>> commands, e-mail: beginners-h...@perl.org http://learn.perl.org/
>>
>>
>>
>>
>> --
>> To unsubscribe, e-ma
and how?
>>
>> On Sun, Nov 4, 2012 at 10:10 PM, Feng He wrote:
>>>
>>> >You have lost the module named as Email::MIME.
>>> >
>
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginn
gt;
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
--
-
Chicago
Hal Wigoda
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
ers-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
--
-
Chicago
Hal Wigoda
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Yes. But there are limits of infinity.
---
On Aug 28, 2012, at 10:25 PM, Rajeev Prasad wrote:
> can multiple users run the same script, at same time, which opens couple of
> files (file handles) for "reading" only? I would assume yes, but I want to
> know for sure.
>
> thx in advance.
which I need to call another perl script.
>> In one linux machine it is working and in the other machine it is not
>> working.
>>
>> Ex:- system("./submit_now.pl $");
>>
>> can you please, tell me what is the reason?
>> and as well solutio
, it's a strong indicator to pay
> attention.
>
> --
> Chris Nehren | Coder, Sysadmin, Masochist
> Shadowcat Systems Ltd. | http://shadowcat.co.uk/
--
-
Chicago
Hal Wigoda
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
Use the switch/case combination.
On Tue, Jul 31, 2012 at 11:41 PM, Paul.G wrote:
> Hi All
>
>
> Does perl have a case statement or an equivalent?
>
>
> Cheers
>
> Paul
--
-----
Chicago
Hal Wigoda
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
--
-
Chicago
Hal Wigoda
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
an't close file";
> close $mail_fh || die "Can't close mail_fh";
> unlink ($File::Find::name);
> }
> }
>
>
>
> In case anyone's interested, here's the shell script it replaces:
>
not anymore.
On Jul 2, 2007, at 3:55 AM, Prabu Ayyappan wrote:
Hi,
There is some good stuffs in the below link.
http://www.unix.org.ua/orelly/
Thanks,
Prabu
"Garg, Mayank IN BOM SISL" <[EMAIL PROTECTED]> wrote:
Hi all,
Can some one suggest me a good book on perl (basics and adva
for one thing, you need to add "\n" for newline.
On Jan 18, 2007, at 7:12 AM, Beginner wrote:
Hi all,
Sorry I am sure this is a lame question.
I want to print out some column (with heading) and I want them evenly
spaced. I know this is a printf but the format eludes me.
printf("%c12", $var)
you may be missing the gcc compiler or
not have the execute permission.
On Nov 22, 2006, at 12:08 AM, Dharshana Eswaran wrote:
Hi Rajeev,
I tried using Perlcc, but the following error occurs.
bash$ perlcc zzz.pl
Can't exec "gcc": No such file or directory at /XXX/xxx/perl/bin/
perlcc line
the code on page 3 looks like it might be very helpful.
On Sep 4, 2006, at 7:07 AM, Eric Krause wrote:
Check out this web page, http://www.developer.com/lang/other/
article.php/3454041. It has examples that return link and tags
using WWW::Mechanize, which is a subset of LWP.
-Eric
Hal
i have tried that one, also.
i will do furthur research and let you know
On Sep 3, 2006, at 8:21 PM, Tom Phoenix wrote:
On 9/3/06, Hal Wigoda <[EMAIL PROTECTED]> wrote:
HTML-LinkExtractor-0.13
libwww-perl-5.805
linkcheck-1.05
HTML-Parser-3.55
HTML-SimpleLinkExtor-1.13
HTML-Tagse
sure i have -
HTML-LinkExtractor-0.13
libwww-perl-5.805
linkcheck-1.05
HTML-Parser-3.55
HTML-SimpleLinkExtor-1.13
HTML-Tagset-3.10
have failed me.
On Sep 3, 2006, at 7:21 PM, Tom Phoenix wrote:
On 9/3/06, Hal Wigoda <[EMAIL PROTECTED]> wrote:
anyone have any code that will retu
anyone have any code that will return the links and tags from web
document
downloaded using LWP?
hal
chicago
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
you have to execute the awk statement on the operating system level
with the system,
that is:
system ("$cmd1");
On Aug 29, 2006, at 10:40 AM, Sayed, Irfan ((Irfan)) wrote:
Hi All,
I have a following script in perl in which i am using awk command
but it
is not getting executed properly.
why do you keep on asking the same question?
On Jul 27, 2006, at 9:47 AM, Sayed, Irfan ((Irfan)) wrote:
Hi,
I am executing following code. i need to send the output of
system($cmd); command to the file . how do i do that
plz help
Regards
Irfan.
#/usr/atria/bin/Perl -w
us
use the perl variable:
my $os = $^O;
print "Running in: $os\n";
On Jul 27, 2006, at 1:12 AM, anand kumar wrote:
Hi all,
Can any one say a command or procedure to find out on which OS/
Platform does our current perl script is running.
Thanks in advance for the help
Reards
Anand Kuma
I need a perl script to get tags and corresponding links (in pairs)
from a web page.
Anyone steer me in the right way?
hal
chicago
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
#!/usr/bin/perl
my @test = ("/test" , "/playground");
print @test;
print "\n";
print @test[0],"\n";
print @test[1],"\n";
you must print each array item with a \n
On Jul 20, 2006, at 9:33 AM, Sayed, Irfan ((Irfan)) wrote:
Hi,
I have written following line. but i am getting error
my @test =
you have to add a "\n" between the 2 elements in the array.
On Jul 20, 2006, at 9:51 AM, Sayed, Irfan ((Irfan)) wrote:
Hi,
I have written following line. but i am getting error
my @test = ("/test" , "/playground");
print @test;
i am getting output as follows
/test/playground
i need the o
i googled the error and a solution indicated to load the osx
developer tools.
so i did and that worked.
On Jul 2, 2006, at 9:22 AM, Tom Phoenix wrote:
On 7/1/06, Hal Wigoda <[EMAIL PROTECTED]> wrote:
make: *** No rule to make target `/System/Library/Perl/5.8.6/darwin-
thread-multi-
/darwin-
thread-multi-2level/CORE/config.h', needed by `Makefile'. Stop.
$ find /System/Library/Perl -name config.h
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/CORE/config.h
the file is in 5.8.1 not 5.8.6.
do i have to update my library and how?
hal
chicago
--
To unsu
t description
why we won't sell this to customer A under any circumstances etc.
bash$ perldoc perldsc
has more of the details you require.
Other things to do is search CPAN for Spreadsheet modules to read and
write in .xls format if you require this, or alternatively research how
t
On Mon, 2005-11-07 at 10:56 -0500, Robert Hicks wrote:
> If I am pulling data out with a $sth->fetchrow_arrayref, how do I see the
> structure of what is coming back? I need to change the description on some
> of the data coming back out (like changing a "C" to "Closed") but I am not
> sure how to
Cut off the fat.
>
> Unix Sys administrator, versed in most shells, ksh, bourne, bash etc.
>
> What is the best way for me to lean perl?
>
> Phil
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I was wondering how to read in a dbf file. I understand how to read
..csv files, but I would like to be able to not have to convert the many
dbf's to csv's.
Thanks,
Hal
__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Oly
to work. I don't have acces to Visual C++, but I've heard that there
are some freeware compilers and I just can't find them.
I'd be gratefull for any information on installation or use problems
you've encountered, etc. with tk and perl.
Thanks,
Hal Johnson
__
i need to remove files that are more than 30 days old.
I know the foreach loop part
but my if statement is not working.
See below.
#!/usr/bin/perl
use File::stat;
use File::Find;
$dirname="/opt/ilbackup/status";
opendir(DIR, $dirname) or die "can't opendir $dirname: $!";
while ( defined
How do you run a command on a unix box
from a perl script
and capture the results??
Like a grep command??
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I nned a module to verify
dates entered in an html cgi form.
Any clues??
hal
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Does anyone have the code to produce a list of files in a directory??
I'm trying to install a module as root
from cpan
and it is looking for my ncftp program
and it is not found.
What do i do now??
I'm using mandrake 7.2 on my linux server.
When you install a perl module from CPAN
should you do it as root???
51 matches
Mail list logo