Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");

by grep (Monsignor)
on Jun 07, 2007 at 16:31 UTC ( #619847=note: print w/ replies, xml ) Need Help??


in reply to Re: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");
in thread any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");

Unless I'm missing something - it doesn't have to be an overloaded obj or a symbolic ref. It could be just a non-explicit (DWIM) deref.

use strict; use warnings; use Data::Dumper; my $user = [ 'foo','bar' ]; push( @$user,'baz'); print Dumper $user;

grep
1)Gain XP 2)??? 3)Profit


Comment on Re^2: any idea how push (@$user,"$ent_date\t$message\t$firewall\t$service");
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://619847]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2014-09-30 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (374 votes), past polls