y figure out how to accomplish what you're doing when
I don't know what criteria you want to use to choose the specific
subroutine you're going to use at a given moment.
Best o' luck.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
unix virus: If you're using a unixlike
ink it's important
enough, maybe you could make a case for that functionality being added
to the version of rm included with core utilities on your system.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"There comes a time in the history of any project when it becomes necessa
On Tue, Jan 02, 2007 at 02:32:52PM +, Matt Richards wrote:
> OROSZI Balázs wrote:
> >Emacs and Vim are both braindead.
>
> what do you use as your text editor then?
His bad attitude, I guess.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"It's just i
nk they named it EMACS? It
stands for Esc-Meta-Alt-Ctrl-Shift.
Of course, I'd only say that (mostly) in jest. I know GNU Emacs works
quite well for some people. For me, however, it falls short of my
needs, precisely because it tries to do everything.
--
CCD CopyWrite Chad Perrin [ http://
On Tue, Jan 02, 2007 at 01:39:02PM +0700, Eko Budiharto wrote:
> who said only GNU emacs is everything. Actually, there are other plain
> text editors you can use.
I'm a big fan of Vim and SciTE (in that order).
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"The me
> Will that do what I want?
If you want anything but a given pattern, the best way to do it is
usually by using the !~ operator. Thus, if you have a pattern $foo,
this matches that pattern:
exit if $ans =~ m/$foo/i;
. . . while this matches anything but that pattern:
exit if $ans !~ m/$f
relevant passage in perldoc -f split after I sent that
message. Please, I know you're all trying to be helpful, but stop
sending me or the list emails quoting perldoc -f split to point out what
I missed the first couple times I checked it.
Thanks.
--
CCD CopyWrite Chad Perrin [
On Thu, Dec 28, 2006 at 02:01:54AM -0700, Chad Perrin wrote:
>
> Why doesn't perldoc -f split say anything about that? Never mind, I
> guess that's a rhetorical question.
Igor just pointed out to me that it is, in fact, in perldoc -f split,
and I just managed to miss it when
On Thu, Dec 28, 2006 at 08:51:26AM +, Igor Sutton wrote:
> 2006/12/28, Chad Perrin <[EMAIL PROTECTED]>:
> >
> >That makes sense, considering I just checked the tutorials at PerlMonks
> >and discovered that, according to split(), ' ' and /\s+/ are exactly
t map " |$_| ", split /\s+/, $ln;
> print map " |$_| ", split " ", $ln;
> '
> |one| |two| |three| |four|
> |one| |two| |three| |four|
That makes sense, considering I just checked the tutorials at PerlMonks
and discovered that, according to
On Wed, Dec 27, 2006 at 10:58:40PM -0700, Chad Perrin wrote:
> On Wed, Dec 27, 2006 at 07:42:59PM -0500, M. Lewis wrote:
> > John W. Krahn wrote:
> > >M. Lewis wrote:
> > >>
> > >>while (my $ln = ){
> > >>chomp $ln;
> > >>
x27; instead of /\s/ as the first argument to split:
> >
> > my ($prod, $flavor) = split ' ', $ln, 2;
>
> Ok, but why? Are they not the same?
No, they're not. ' ' is a literal space. /\s/ matches any whitespace.
--
CCD CopyWrite Chad Perrin [
On Tue, Dec 26, 2006 at 07:27:12PM -0800, Travis Thornhill wrote:
> Chad Perrin <[EMAIL PROTECTED]> wrote:On Tue, Dec 26, 2006 at 06:59:42PM
> -0800, Travis Thornhill wrote:
>
> Try this instead:
>
> our $opt_h;
> getopt('h);
>
> That satisfies both t
stion: Is the -h option meant to be for "help"? If so, you may be
interested to know that Getopt::Std provides a built-in --help option
that can be used instead (or in addition).
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"A script is what you give the actors. A pr
ed anywhere else I've been.
Yeah, I agree: the community is the best thing about Perl. Considering
how great some of the other features of the language are, that's really
saying something.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Brian K. Reid: "In computer science, we s
ents." That may not suit your needs at
all, though, since I don't know exactly how you need your file access to
fit into the program.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr("Just another Perl hacker", 0, -2);
--
To unsubscribe, e-mail: [EMAIL PROT
On Thu, Dec 21, 2006 at 06:24:53PM -0800, John W. Krahn wrote:
> Chad Perrin wrote:
> > On Thu, Dec 21, 2006 at 03:02:04PM -0700, Chad Perrin wrote:
> >>I'm sure that could be made prettier by someone with better Perl mojo
> >>than I have at the moment, and it co
On Thu, Dec 21, 2006 at 03:02:04PM -0700, Chad Perrin wrote:
>
> I'm sure that could be made prettier by someone with better Perl mojo
> than I have at the moment, and it could be made a bit simpler if all you
> want is the gid for each group rather than the group name.
I pos
On Thu, Dec 21, 2006 at 01:25:01PM -0700, Tom Smith wrote:
> Chad Perrin wrote:
> >
> >That's why I said you may as well either just use the id utility from
> >the shell if you're not going to grab group memberships in an
> >idiomatically Perlish way
On Thu, Dec 21, 2006 at 10:23:57AM -0500, Robert Hicks wrote:
> Chad Perrin wrote:
> >On Tue, Dec 19, 2006 at 09:08:11AM -0800, Randal L. Schwartz wrote:
> >>"Learning Perl on Win32 Systems" is still being published only because it
> >>sells. It was based o
On Thu, Dec 21, 2006 at 08:05:05AM -0700, Tom Smith wrote:
> Dr.Ruud wrote:
> >Chad Perrin schreef:
> >
> >>Of course, if you're going to call out of the Perl script to the id
> >>utility, you may as well skip the Perl script entirely and just enter
>
On Thu, Dec 21, 2006 at 03:06:38AM -0800, John W. Krahn wrote:
> Chad Perrin wrote:
> > On Wed, Dec 20, 2006 at 05:28:46PM -0800, John W. Krahn wrote:
> >>
> >> Since you are only reading from /etc/group you are not picking up the
> >> primary
> >> g
On Thu, Dec 21, 2006 at 08:08:07AM -0700, Tom Smith wrote:
>
> Yeah, the smiley may have clarified the intentions a little...
. . . or it may have just looked like part of the Perl code.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr("Just another Perl hac
On Thu, Dec 21, 2006 at 11:23:15AM +0100, Dr.Ruud wrote:
> Chad Perrin schreef:
> > Dr.Ruud:
>
> >> TIMTOWTDI. On the shell machines of my provider (FreeBSD) the "id"
> >> approach will work, and the "/etc/group" one won't.
> >
&g
considering mentioning that appeared rather more obfuscated
than Tom's example. Clever, though.
Of course, in both cases, I might mention that you can eliminate a \n in
a printed string by using the -l option in the shebang line. For your
example, though, I guess the \n just adds to the &
c/group you are not picking up the primary
> group stored in /etc/passwd.
Singling out the primary group wasn't a requirement for the Perl script,
as far as I recall. If I'm mistaken, then yeah, you might want to check
/etc/passwd for the primary group. If not, you'll get the prima
h the -Gn switches, it
works identically to the groups command. Just thought I'd mention.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"The ability to quote is a serviceable
substitute for wit." - W. Somerset Maugham
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
work, and the "/etc/group" one won't.
I don't think that has anything to do with it being FreeBSD. I'm typing
this from a FreeBSD machine, and it works just fine.
Of course, if you're going to call out of the Perl script to the id
utility, you may as well skip the P
to do, this might yield greater reusability of code,
but if that's not a concern for this script it really doesn't matter.
For something as quick as looking up a single user's group memberships,
resource footprint and processor time aren't really a concern.
I guess this is
ading spaces before the word "name" must be at
the beginning of the line. For that, use "^". Use "perldoc perlre" to
learn more about it.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"It's just incredible that a trillion-synapse computer could
rawberry Perl before now. Do
you recommend it over ActiveState?
I may have to give it a try the next time I boot a Windows machine
(which means it may be a few months before I try it out).
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr("Just another Perl hacker", 0, -2);
> > -reddy.
>
>
> At the prompt, type
>
> # perl -p -e 's/\r$//' < winfile.txt > unixfile.txt
>
> so if your script is called foo.pl, it is
>
> # perl -p -e 's/\r$//' < foo.pl > newfoo.pl
I usually just use the dos2unix utility
write
with only basic understanding of the language and very simple
understanding of Perl regex syntax, but I'm not providing code so that I
don't just do your work for you. Let us know if you have any problems
with the concepts.
relevant perldocs:
perldoc perlre
perldoc -f split
perldoc p
itrarily ordered command line
arguments.
I've strayed from the main subject a touch. Back on topic: Learning
Perl is one of the best books ever written, in any edition, for learning
your way around a new programming language. I recommend it. Ignore the
Win32 version.
--
CCD CopyWrite Cha
rl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .).
BEGIN failed--compilation aborted.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"The first rule of magic is simple. Don't waste your time waving your
hands and hoppi
ly aren't. Python comes to mind, with
variable scope that is sometimes defined as lexical by default even
though technically it's a special case of dynamic local scope that just
usually acts very similarly to lexical scoping.
Hope that helps.
--
CCD CopyWrite Chad Perrin [ http://cc
p like Flash and Quicktime aren't allowed, and
everyone who disables Flash content viewing to avoid annoying ads.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"A script is what you give the actors. A program
is what you give the audience." - Larry Wall
--
To unsubs
n interface
> to SWF Chart
> (macromedia flash) and the appearance of these graphs is a bit more pleasing
> on the eye.
That's great, as long as you don't mind accessibility issues and
excluding all potential visitors to your site who don't use a Flash
plugin for
> available in open source tools. I have tried 'EngineSite Perl Editor
> "Suja> -LITE' and 'PerlExpress' which I am not comfortable with. Kindly refer
> "Suja> me some good bug free tools.
>
> GNU Emacs is my editor (lifestyle? :) of choice.
We love yo
On Wed, Nov 22, 2006 at 03:44:22AM -0500, Mathew Snyder wrote:
> In this line of code what is 'new' doing?
> my $users = new RT::Users(RT::SystemUser);
Um . . . instantiating an object?
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"The measure on a man's
am not comfortable with. Kindly refer
> me some good bug free tools.
I rather like Vim, though I suspect you want something . . . else.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
unix virus: If you're using a unixlike OS, please forward
this to 20 others and erase your system
is works, but if it
works as well as the impression I have from what I've read so far, you
could probably just write an entire program in a Perl module, then use
that module from within an OCaml program, which you can then compile to
a persistent binary executable.
I have a sneaking suspi
use File::Spec::Functions;
find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1
}, @INC;
(watch the line-wrap)
This recently came up in the PerlMonks chatterbox, too.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"The ability to quote is a serviceab
On Thu, Oct 05, 2006 at 10:35:09AM -0500, Mumia W. wrote:
> On 10/05/2006 09:48 AM, Chad Perrin wrote:
> >On Thu, Oct 05, 2006 at 09:06:11AM -0500, Mumia W. wrote:
> >>>
> >>Perhaps you could look at the problem in reverse. Strip out all
> >>characters t
> that is not a digit, space, tab, alphanumeric character, period, or
> comma and delete it.
That won't work so well for characters that are garbage versions of good
characters that are actually needed. Generally, quotes are there for a
reason, for instance -- so just throwing away "
resend.
I'm glad *someone* sent it to the list at large, in case it's useful to
more than just the OP.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
unix virus: If you're using a unixlike OS, please forward
this to 20 others and erase your system partition.
--
To unsu
Dammit, I accidentally replied to the OP rather than the list (lo these
many hours ago), and only just realized it.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Amazon.com interview candidate: "When C++ is your
hammer, everything starts to look like your thumb."
--
To u
to transcribe what you're saying. And
> then it gets mangled to "jim smith called - something about dollar
> underwear". (pause for laughter) So, skip the mangling, just email us
> directly.
On the other hand, calling it "implicit scalar" doesn't lend i
I intended to send this to the list and accidentally replied directly to
the person to whom I was replying. I figure it's worth reposting to the
list.
- Forwarded message from Chad Perrin <[EMAIL PROTECTED]> -----
From: Chad Perrin <[EMAIL PROTECTED]>
To: Jen Spinney
On Mon, Sep 11, 2006 at 05:37:15PM -0700, chen li wrote:
>
> What is the usage for "? () :" and where can I find
> more about it?
perldoc perlop
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
This sig for rent: a Signify v1.14 production from http://www.
either empty or containing "$x[2]... depending on the result
> of the condition test), but that seems clunky. There seems like there
> should be a simpler way. Any thoughts? Thanks for any help! - Jen
Do everything without a conditional except those two lines -- do them
with an "u
/ @data;
>
> Depending on how you understand Perl and what progress
> you are I prefer 6).
I prefer 2, personally. A C library for something like this strikes me
as optimal.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"The ability to quote is a serviceable
substi
t for qw(a e i o u)'
Sorry, couldn't resist the call of plaid pants and electric carts.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
This sig for rent: a Signify v1.14 production from http://www.debian.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
On Mon, Jul 24, 2006 at 07:35:03PM -0400, Mathew Snyder wrote:
> Please lighten up.
How many lumens is that?
(Please don't top-post.)
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"There comes a time in the history of any project when it becomes necessary
to shoot the
something, I blame the fact that it's only six in the
morning, but . . .
. . . shouldn't that be "ne" instead of "eq"?
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Brian K. Reid: "In computer science, we stand on each other's feet."
--
To
se. That's my favorite.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Brian K. Reid: "In computer science, we stand on each other's feet."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
that is printed
individually, thus applying the effects of -l to each array element
rather than simply to the end of the array as with a line that reads
merely:
print @test;
There are other ways to do it as well. TIMTOWTDI.
relevant perldocs:
perldoc perlop
perldoc perlrun
per
hered:
>
> Mr. Shawn H. Corey - calm guy, good Perl skills
> Rob Dixon - calm guy, good Perl skills
> Randal L. Schwartz - troller, good Perl skills
> Chad Perrin- troller, don't know about skills
For the record, my Perl skills are a little weak in a number of areas
rest.
Who do I talk to about banning trolls?
Talk about Perl (or something related and somewhat interesting) or,
please, kindly shut up.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"It's just incredible that a trillion-synapse computer could actually
spend Saturday afternoon w
gt; and I gotta peee...
>
> All fun aside, I have a Perl question, but I have learned not to "top
> post" and NOT to hijack a thread... Thanks to all that have taught me
> such.
Thank you.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr("
bout ready to /dev/null YOUR emails, by now. See
point 1. for why.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
print substr("Just another Perl hacker", 0, -2);
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ly, I'd like any apologies to
happen off-list so we don't have to endure them.
How about that object model topic? Does anyone have anything to say
about that?
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"It's just incredible that a trillion-synapse computer coul
is written above, are on each iteration
assigned to the $_ scalar variable.
This is especially handy since, if you don't specify a filename, it
defaults back to taking input from the keyboard as though you had used
the STDIN filehandle.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org
. A fourth argument can be used for operations that aren't
relevant here. The end result is that you seem to have used substr()
exactly the way it's meant to be used.
perl -le "print substr 'Just another Perl hacker', 0, -2"
--
CCD CopyWrite Chad Perrin [ http://
indeed a case of Perl scripts that have been
packaged with a parser and encrypted to make it difficult to read the
files. I'm afraid I haven't any help to offer, other than suggesting
you get the guy who wrote it to decrypt it for you.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org
l free to send it to me, then. I'll see what I can see.
How are you sure it's Perl?
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"The first rule of magic is simple. Don't waste your time waving your
hands and hopping when a rock or a club will do." - McCloct
eg a file name alignscr.p - am sure that it is a perl code, but am not
> able to open it on a vi editor - :(
Have you checked file permissions? It might just be set to read-only
for the user account you're using to try to read it.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org
ple files before
using it on the real things if you care about whether you lose your
data during testing.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Ben Franklin: "As we enjoy great Advantages from the Inventions of
others we should be glad of an Opportunity to serve others by an
n
the script is run. Voila, it works. Did I misunderstand your point?
Of course, this seems like a lot of unnecessary work, since it basically
involves writing one's own simple DBMS query system, but it would seem
to suit the OP's requirements.
--
CCD CopyWrite Chad Perrin [ http://cc
On Mon, Jun 19, 2006 at 11:54:46PM -0400, Jeremy Kister wrote:
> I wrote a word descrambler that works very well, but is very slow
> compared to http://www.jumble.org
Whew. Judging by the subject line, I was worried this was going to turn
out to be spam.
--
CCD CopyWrite Chad Perrin
e) that each separate Perl script parses to populate
variables. You could even simply have one script call another, and get
output from that other for use as variable data in the script that
called it.
The "best" way to do it in your case will vary, depending on what
exactly you
he perlop documentation.
You can also check out a tutorial I wrote at PerlMonks a couple years
ago, titled "quotes in Perl". I think it's pretty clear and helpful,
but maybe I'm biased:
http://www.perlmonks.org/?node_id=401006
A perhaps more "intuitive" URL for t
lems when someone wants to use something
written by someone else, or write something that makes use of a given
module.
That's probably why. It's certainly the reason that comes to mind for
me.
--
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
"Real ugliness is not har
the server? Is it more than one of the above? Is it something else
entirely?
I'm afraid your question isn't very clear. I don't even know if I have
the information you actually want -- unless the "yes" answer to your
"yes or no" question above is the answer yo
On Mon, May 29, 2006 at 06:39:57PM -0700, chen li wrote:
>
>
> --- Chad Perrin <[EMAIL PROTECTED]> wrote:
>
> > On Mon, May 29, 2006 at 01:17:52PM -0700, chen li
> > wrote:
> > > Sorry but what I mean is "Beginning Perl" from
> > > http
eren't talking about the Llama book,
especially since it doesn't have any OOP instruction in it. I wasn't
aware there was an official online version of Beginning Perl, though.
Thanks for the URL -- it might come in handy.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"A
first two cells and to produce no undefined cells?
> >>
> >>@f = grep defined, /(x)(y)|(a)(b)/;
> >
> > yes. solves my problem. how did you find out about this?
>
> By programming in Perl for many years. :-)
Did it also teach you why that's necessary?
m very happy to be able to write my first admin scripts by myself.
> The cpan.org et perlmonks.org are very helpful websites and so is this
> mailing-list ;-)
You're quite welcome. Best of luck.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"There comes a time in the
On Fri, May 26, 2006 at 07:32:57AM -0500, Gomez, Juan wrote:
>
> do you realized this is a perl list?
Maybe he wants to do it in Perl. Of course, it's pretty hard to tell
from that email.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"A script is what you giv
ery good free resources like PerlMonks. It'll make
you a better PHP programmer. Perl is particularly suited to this, since
before PHP was its own programming language, it was just a toolkit for
web development built using Perl.
That's my take on it. Someone else is sure to have a take that
ed May 24 18:33:52
> Html.Phishing.Bank.Gen503.Sanesecurity.06042004 FOUND Wed May 24 18:50:26
At a guess, I'd say those two lines indicated that something less than
benevolent was found.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"The first rule of magic is simple. Don't w
ussion
thread.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"The ability to quote is a serviceable
substitute for wit." - W. Somerset Maugham
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
y fair, the code itself is only eleven lines. On the
other hand, it's still eleven lines of VB in a Perl list, and the sig
block is still sixteen lines long -- roughly four times the reasonable
limit for a sig block.
#!/usr/bin/perl -l
use strict;
use warnings;
# do stuff like define
r something equally
inconvenient.
Scalability is good. Don't automatically assume the best case. Plan ah
Whoops.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"The measure on a man's real character is what he would do
if he knew he would never be found out.&
On Mon, May 15, 2006 at 12:07:42AM -0500, Sumo Wrestler (or just ate too much)
wrote:
> Chad Perrin wrote:
> >[...]
> >I'm still curious about why exec cgi works for a page generated
> >entirely by the CGI script, but not for CGI script output that I want to
> >in
t me a message off-list (by accident?) stating that
he was doing exactly the same thing I was trying to do, and it was
working for him, so it should be working for me. He was right.
I think that pretty much sums it up.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"There comes a t
On Sun, May 14, 2006 at 05:00:08PM -0600, Chad Perrin wrote:
> On Sun, May 14, 2006 at 06:43:13PM -0400, Ricky Zhou wrote:
>
> > For your specific problem, try using
>
> How do I go about passing variables to the script via include virtual
> without using cookies, then?
l, though cgi seems to work great if all my page
content is coming from the CGI script. Is there some specific
difference in behavior between cmd and cgi in this of which I'm not
aware?
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"There comes a time in the history
ccomplish, but
I've run out of ideas for the moment. Aside from asking the list, I'm
also going to try taking a nap.
Thanks in advance for any help.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
This sig for rent: a Signify v1.14 production from http://www.debian.org/
nceptually and euphemistically) with your next point.
>
> And LPORM couldn't possibly have a successor without being restricted
> to adults only (think about "++").
I think I'd buy that. Mmmm, adults-only Perl.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"
t has sorta been replaced in newer
editions by a book called "Intermediate Perl", which is reportedly
pretty much just a new edition of the same book -- though I haven't
looked through it to double-check that.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"It
uage doesn't magically
turn bad programmers into good programmers.
. . . just one man's opinion.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
Ben Franklin: "As we enjoy great Advantages from the Inventions of
others we should be glad of an Opportunity to serve others by a
es it
> is best to use $x, $y, and $z or $i, $j, and $k.
. . . or $foo, $bar, $baz, and $qux. When you start with foo, pretty
much everyone immediately knows you're using metasyntactic variables for
demonstration purposes.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
This
ompt him to learn so that he doesn't have to keep
asking other people all the time. Dealing with people like us is REAL
work.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"The measure on a man's real character is what he would do
if he knew he would never be found
oblem?
That's the impression I get, too. In case it's not:
I'd probably use a while loop with a less-than comparison and a simple
statement that increments by ten inside the loop. As long as I don't
see working code that doesn't look like homework, though, I don't th
nd "if" wasn't a typo -- it might
have been the result of writing code in MS Word with auto-capitalization
turned on.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
print substr("Just another Perl hacker", 0, -2);
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
raining!
- End forwarded message -
Whoops. I meant to send something to the list, and didn't. Oh well.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
Ben Franklin: "As we enjoy great Advantages from the Inventions of
others we should be glad of an Opportunity to ser
On Tue, May 02, 2006 at 08:28:06AM -0400, Ryan Frantz wrote:
>
> > -Original Message-
> > From: Chad Perrin [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, May 02, 2006 4:37 AM
> > To: Mr. Shawn H. Corey
> > Cc: Chad Perrin; beginners@perl.org
> > Sub
On Mon, May 01, 2006 at 07:24:12PM -0400, Mr. Shawn H. Corey wrote:
> On Mon, 2006-01-05 at 17:06 -0600, Chad Perrin wrote:
> > In other words, I don't think blaming choice of mail client or mail user
> > agent helps anything, especially since in many cases work conditions m
ent or mail user
agent helps anything, especially since in many cases work conditions may
dictate one's choice of client or MUA.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"The first rule of magic is simple. Don't waste your time waving your
hands and hopping wh
1 - 100 of 145 matches
Mail list logo