Richard Heintze wrote:
> I have just discovered the the following code causes
> trouble when I have "use strict" and "use warn";
>
> use strict;
> use warnings;
>
> my $k = $q->param('xyz');
> print qq[ \$k = $k ];
>
> The problem is that if there is no GET/POST param
> called xyz, we are conca
Richard Heintze wrote:
> emacs and a number of other editors have the ability,
> with a single key stroke to properly indent java code.
>
> However, since perl has such unusual syntax for
> specifying literal character strings (my favorite is
> qq[]) emacs chokes when it attempts to indent my per
Dan Muey wrote:
> Howdy group,
>
> In developing a module and I am torn.
>
> I want to use the newer our $variable; but to make it work
> with pre 5.6 Perl (or whatever version our appeared in) I
> have to do the use vars qw($variable); method
>
> So I was wanting some input about pros and cons
Jonathan Mangin wrote:
> Jeez, this is a beginner's list? Y'all are defining my ignorance of this
> here purrl stuff. I hope someone with patience can help me out. In a
> simple login/registration program using 5.6.1...
>
> #!/usr/bin/perl -wT
> use strict;
>
> [CGI and DBI stuff]
IOW, importan
Dan Anderson wrote:
> Is it possible to do something to a string so that it gets escaped for a
> shell command (i.e. if I'm executing a command and I have the file name
> "foo's bar.jpg" it will be escaped to: "foo\'s\ bar.jpg"?
>
> Right now the following script is giving me problems because whe
Luke Bakken wrote:
> Rather than calling
>
> egrep REGEX really long list of files ...
>
> they should be calling (ksh here, use "echo" instead of "print" for other
> shells):
>
> print really long list of files | xargs egrep REGEX
IMO, they should be using glob and coding the grep themselves