Re: understading double scalar variable $$



On Jul 18, 11:23 am, Slickuser <slick.us...@xxxxxxxxx> wrote:
This is the original code.
Someone wrote it and I am trying to understand that's why.

sub parse_text()
^^
{
    my($text) = @_;
^^
This is the *exact* code that someone wrote? Copy and pasted? Fire
that person. Or at the very least, don't use any more of his/her
code. He/She does't know what he/she's doing.

This code explicitly states that the subroutine does not take any
arguments.... and the very first thing it does is to retrieve the
argument. The only way this code works if the calls to the code use
the &-calling notation, which is evil for other reasons as well.

Paul Lalli



.



Relevant Pages

  • Re: Afterupdate event
    ... I managed to solve my problem by using the beforeupdate event and modifying ... Private Sub Form_BeforeUpdate ... place your code in the AfterUpdate event of an appropriate text control. ... So I shifted it to the afterupdate event but as I say doesn't fire. ...
    (microsoft.public.access.formscoding)
  • Re: Afterupdate event
    ... Private Sub Form_BeforeUpdate ... The Form AfterUpdate and BeforeUpdate event only fires when the form is Updated. ... So I shifted it to the afterupdate event but as I say doesn't fire. ...
    (microsoft.public.access.formscoding)
  • Re: Return Fire
    ... Torp uses mobility. ... I've never used fire from a sub but I ... But they can't attack subs... ...
    (rec.games.empire)
  • Re: Need help updating access db
    ... use parameters instead...this is a big potential risk ... will ever fire... ... command, added to fire the insert command and deleted to fire the delete ... > Sub Page_Load ...
    (microsoft.public.dotnet.general)
  • RE: Add client event to user control?
    ... client-side script event to fire. ... but the user control doesn't ever fire the client event. ... > Private Sub Page_Load(ByVal sender As System.Object, ...
    (microsoft.public.dotnet.framework.aspnet)