from here.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux.org 3.5.1-1.fc17.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On 10/09/2012 08:20 AM, Mark Haney wrote:
So, this is obviously a problem bigger than just this one routine. But
bugger me if I know where to go from here.
I don't even know what to say now. I have it working. I'm not entirely
sure /why/ it works, but it does. Just for fun, I changed
I've got a Template Toolkit template that is driving me insane. I've hit the
TT list, but it seems more and more like the problem may be more perl related
than a templating issue. I've attached the offending files so now let me show
what the problem is.
I have two SQL statements that pull
if you like. I had
to write up a setup sheet when I was working on a project.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux.org 3.5.1-1.fc17.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands
.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux.org 3.5.1-1.fc17.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On 09/12/2012 10:57 AM, Rob Dixon wrote:
Hey Mark
I suggest you use set the MYLIBPATH environment variable to the
directory you want to use and then do
use lib $ENV{MYLIBPATH}
at the head of your program
HTH,
Rob
Thanks Rob, I'll look into it.
--
Mark Haney
Software Developer
special about the content or syntax, etc about the package that
doesn't use it.
So, should I use it? Does it really matter in small apps? What am I
missing here?
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.4.6-1.fc16.x86_64 GNU/Linux
this help?
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.4.6-1.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
can't say (but suspect) if the
first digit only = 0 if it gets dropped, since the data won't come with
that output.
I know this is an HTML type issue, but is there something I'm missing?
Maybe an escape char that would keep that from happening?
--
Mark Haney
Software Developer/Consultant
AB
On 07/24/2012 12:20 PM, Shawn H Corey wrote:
On Tue, 24 Jul 2012 11:53:33 -0400
Mark Haney ma...@abemblem.com wrote:
The problem I'm seeing in tcpdump is that it appears that the first
two integers are being dropped if they are both zeroes.
You could reconstruct the leading zeros in your
On 06/11/2012 03:51 PM, Mark Haney wrote:
my %attrs = (
shift_name = $q-param('shift_name'),
shift_beg = $q-param('shift_beg'),
shift_end = $q-param('shift_end'),
factory_id = $q-param('factory'),
shift_days = $q-param('DoW'),
);
When I run the script I get this in apache's error.log:
DBIx
-schema-resultset('Shifts')-new({
shift_days = $attrs-{shift_days},
factory = $attrs-{factory},
});
$m-insert;
}
Would get me the list data from the DoW paramter passed to the original
CGI script?
--
Mark Haney
Software Developer/Consultant
something simple, but I've not
found any help on Google explaining how checkbox data is passed in a form.
Any ideas?
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.7-1.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr
other reason.
Does that make sense?
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.7-1.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
and been told is that mod_perl is a better fit
than using CGI.pm like I've been doing.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.7-1.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands
with Perl. This means things
like altering request flow, authentication, and the like--not Web apps.
Okay, you've talked me into it. What's the learning curve for Dancer?
Or Web::Simple?
How hard is it to convert existing CGI.pm code into the framework?
--
Mark Haney
Software Developer
don't let that be a hindrance.
Thanks in advance.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.7-1.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
A while back I used a utility that generated database Schema perl
modules automatically. Now I can't remember what that utility was
called, does anyone else know? I'd prefer not creating these by hand if
I can help it.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma
On 06/01/2012 08:54 AM, John SJ Anderson wrote:
Look at DBIx::Class::Schema::Loader.
Yeah, but I could have sworn there was another utility that did the same
thing. Maybe a wrapper around that module or something. I just can't
remember it. Ah well. Thanks anyway.
--
Mark Haney
-resultset('Shifts')-new(attrs);
$m-insert;
}
I've googled this error, but what I've found is not very informative. I
have no idea what a Bareword is in the Perl context. Can someone
explain what's going on?
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux
this is
handled, since I don't see a close() or disconnect() used in any of the
existing, inherited, code, which I normally use just to clean up after
the script runs.
What's the best way to do this?
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.5-2
.
Lou and Mark
Rob
Tweren't me. I did post a similar reply to yours, but I wasn't the one
wanting to opt out.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.4-3.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr
to unsubscribe:
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.2-6.fc16.x86_64 GNU/Linux
--
To unsubscribe, e
. It's been greatly appreciated, but
I'm about as frustrated as I can possibly be.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.2-6.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail
the module in
the first place. (Although the latter is completely irrelevant other
than for my personal curiosity.)
Any resources out on the web about this will be greatly appreciated.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.2-6.fc16
On 05/03/2012 10:49 AM, Lawrence Statton wrote:
On 05/03/2012 07:41 AM, Mark Haney wrote:
On 05/02/2012 03:53 PM, Octavian Rasnita wrote:
I'm really quite intrigued by the assertion that CGI is very seldom
used.
Well, do you mean CGI.pm the perl module, which is, AFAIK rarely used
any
file into a folder and open it
in a browser (on the same server mind you) I get the correct rendering
of the page.
So, what the devil am I missing? I'll be glad to send my stuff to
someone offlist to work on this, since it might be slightly OT, but I'll
take any help I can get.
--
Mark Haney
, the output includes a
large amount of whitespace at the top above the !DOCTYPE tag. Could
that be a problem?
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.2-6.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
'
});
$template-process($file, $vars)
|| die Template process failed: , $template-error(), \n;
And attached is the exact HTML output of the script copied and pasted
directly from the browser output. That output, btw, renders on the
server just fine when I open the file directly.
--
Mark
CGI scripts I
have that generate reports. I suppose I'm not able to be any more
clear, since I'm not sure even what the problem is.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.2-6.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail
back to PHP and it's more
complete and useful documentation.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.2-6.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h
look into them now.
My apologies for sounding like a troll. It was a question I thought had
a quick answer. You live and learn.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.2-6.fc16.x86_64 GNU/Linux
--
To unsubscribe, e-mail
On 04/26/2012 08:27 AM, Bob McConnell wrote:
From: Mark Haney
This exposes the source of your confusion. Javascript is executed in the
browser, while Perl, PHP, ASP and JSP are all executed on the server. So JS
simply complements all of the others. The biggest issue is that you cannot
is the best way to handle this? I'll take any and all suggestions.
I've never had to do this particular function before so I'm grasping
at straws.
Thanks.
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma...@abemblem.com
Linux marius.homelinux 3.3.1-5.fc16.x86_64 GNU/Linux
and using
PHP for the front end/UI stuff.
FWIW, I've never seen an entire website built completely in perl.
Doesn't mean there aren't any, but they must be very few and far
between. (No offense to the perl crowd, just an observation.)
--
Mark Haney
Software Developer/Consultant
AB Emblem
ma
On 01/11/2012 09:58 AM, Mark Haney wrote:
I'm pretty new to the perl DBI world, so can someone point me to a
good tutorial/reference site or book or something? I'm very
proficient with databases and pretty good with basic perl, but not
used together. Any help would be appreciated.
I really
I'm pretty new to the perl DBI world, so can someone point me to a good
tutorial/reference site or book or something? I'm very proficient with
databases and pretty good with basic perl, but not used together. Any
help would be appreciated.
--
To unsubscribe, e-mail:
wrong?
-
Mark Haney
--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/
wrong?
-
Mark Haney
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
On 12/30/2011 12:30 PM, Igor Dovgiy wrote:
Hi Mark,
If your variables are strictly internal and by no means might be ever
tainted (read: user input), what you're doing is mostly ok.
But you need to quote the dates passed within query itself, like this:
my $sql = qq/SELECT * FROM `events`
On 12/30/2011 12:50 PM, Igor Dovgiy wrote:
If you pass into SQL query something assigned by user, use
placeholders by all means. ) It's not that hard, but it'll save you a
lot of headaches, believe me. )
2011/12/30 Mark Haney ma...@abemblem.com mailto:ma...@abemblem.com
But there's
41 matches
Mail list logo